First delete the static file. Static variables and functions in C and Objective-C mean that they are visible only for the current compilation unit (this is more or less: only the file that you declared to the statix variable can see).
Next, you also need to declare the variables in an open header file with "extern", like one of the class associated with the class:
extern NSString *AdStateDisabled;
Then you can use them in other files, but you would not have access to them as "Ad.AdStateDisabled", as well as "AdStateDisabled".
source share