Is there a way to do a #define inside of another #define in c?
I want to achieve the same as you would in the stringWithFormat method.
I was wondering if you could call in another constant inside my #define?
e.g. [NSString stringWithFormat:@"If you enjoyed %@ would you mind please
reviewing it?", appName];
I want:
#define appName @"This App"
#define myMessage @"If you enjoyed appName would you mind please reviewing
it?"
Thanks
No comments:
Post a Comment