In Objective-C, my understanding is that the directive @\"foo\" defines a constant NSString. If I use @\"foo\" in multiple places, the same immutable NSString object is referenc
It's good practice to turn literals into constants because:
I prefer using static const NSString*
static NSString* const
because it's slightly safer than #define
. I tend to avoid the preprocessor unless I really need it.