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

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

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -