fnando / iphone-stanford
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
458fa10
commit 458fa101dc3e3f2aba5ea81abb745d2215c833be
tree 1d97f2ac58ca0b76731b7ecb879b1fb440bd0608
parent e93bf1cdc0fcb8f6703d1f20024c2c395f7683c7
tree 1d97f2ac58ca0b76731b7ecb879b1fb440bd0608
parent e93bf1cdc0fcb8f6703d1f20024c2c395f7683c7
iphone-stanford / README.markdown
iPhone Application Development - Stanford Program
NSLog: make sure you use NSString and not C strings.
NSLog(@"Name: %@", @"Nando Vieira"@); // this works
NSLog(@"Name: %@", "Nando Vieira"); // this crashes
Arrays need to end with nil; you can't have nil values except but the last item.
NSArray * letters = [NSArray arrayWithObjects: @"A", @"B", @"C", nil];
