Hi all. I am a little confused as to when it's best to use:
static NSString *AppQuitGracefullyKey = @"AppQuitGracefully";
instead of
#define AppQuitGracefullyKey @"AppQuitGracefully"
I've seen questions like this for C or C++, and I think what's different here is that this is specifically for Objective C, utilizing an object, and on a device like the iPhone, there may be stack, code space or memory issues that I don't yet grasp.
One usage would be:
appQuitGracefully = [[NSUserDefaults standardUserDefaults] integerForKey: AppQuitGracefullyKey];
Or it is just a matter of style?
Thanks.