objective c - Global NSString -


i need create nsstring, can set value in 1 class , in another. how can it?

if write:

nsstring *globalstring = @"somestring";    

anywhere outside method, class definition, function, etc... able referenced anywhere. (it global!)

the file accesses declare external

extern nsstring *globalstring; 

this declaration signifies being accessed file.


Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -