Kuba Kuba - 1 year ago 143
Objective-C Question

NSString as a resources in Xcode project

Is there any way to simply declare static

as defined int identifier ? I want to do something like in C++
#define MY_SIMPLE_ID 4

Where should I declare this? In C++ I have global access to resource file with it. Is there a way to do that in Objective-C?

Answer Source

Why not using :

#define MY_STRING @"MyString"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download