I need to initialize the class at startup:
TestClass *class = [[TestClass alloc] init];
and then use the class from anywhere in the program, so that all variables in the class saved until the program ends.
As I understand it, you need to create Constant.h , set a global variable class , when you start it, initialize the class and import Constant.h where I need it.
But the question is how do I create such a global variable? Not quite sure about this.