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
Post a Comment