iphone - In Objective-C, how do you declare/use a global variable? -
i have been researching problem long time, , can't seem find answer question. new iphone programming, sorry if stupid question. if has specific code post showing how can done, helpful.
objective-c superset of c, c way:
int globalx = 100;
and header file:
extern int globalx;
Comments
Post a Comment