In Objective-C, I sometimes forget the @ that defines constant strings. See this example :
NSArray *colors = [NSArray arrayWithObjects:
@"Red", @"Green", "Blue", @"Yellow", nil];
In the example, I forgot the @ in front of the "Blue" string. This leads to annoying "Bad Access" bugs.
How to prevent these issues ? Is there some way with XCode to detect these strings or to display warnings ?
