ios public static const equiv -



ios public static const equiv -

i'm trying accomplish c style version of public static const

what tried doing already:

classa.h

extern const int features;

classa.m

#define the_const 123

classb.b

#import classa.h initwithframe features

xcode not through runtime error, rather build error of undefined symbols architecture i386: "_the_const", referenced from: ...

how can share extern const class utilize well?

classa.h

extern const int features;

classa.m

const int features = <your const value here>;

ios static constants public extern

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -