Install the preprocessor macros in the Xcode build settings.
APPDELEGATE_CLASS=$(PRODUCT_NAME)AppDelegate
In xcconfig,
GCC_PREPROCESSOR_DEFINITIONS = APPDELEGATE_CLASS=$(PRODUCT_NAME)AppDelegate
Then you can use the APPDELEGATE_CLASS macro in your code.
@interface APPDELEGATE_CLASS : NSObject <UIApplicationDelegate> {
source
share