Trying to follow some basic examples and getting stuck by this code that is EXACTLY like the example I am following:
[[NSUs开发者_C百科erDefaults standardUserDefaults] setObject:@"Sample Text" forKey:kWordsOfWisdom];
gives me the error:
expected ']' before ';' token
I had this:
#define kWordsOfWisdom @"Sample Text";
that ; on the end was the problem.
精彩评论