diff options
author | Adam Bard <github@adambard.com> | 2013-08-17 21:41:55 -0700 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2013-08-17 21:41:55 -0700 |
commit | 9c2e4b17ed23cc9ee9842e786d429266298aa506 (patch) | |
tree | 639659f787887ae79daf0b75aec39d9e42981399 | |
parent | 2c89ae1cf6ee2316ca96be5620c589612b72d627 (diff) | |
parent | dcdfd9114f3d606ede2a3d4967e7699579427e46 (diff) |
Merge pull request #248 from JakeHurlbut/patch-1
Corrected Array Object NSLog Call
-rw-r--r-- | objective-c.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objective-c.html.markdown b/objective-c.html.markdown index b92e3218..9e9f43e7 100644 --- a/objective-c.html.markdown +++ b/objective-c.html.markdown @@ -90,7 +90,7 @@ int main (int argc, const char * argv[]) // Array object NSArray *anArray = @[@1, @2, @3, @4]; NSNumber *thirdNumber = anArray[2]; - NSLog(@"Third number = %@", thirdObject); // Print "Third number = 3" + NSLog(@"Third number = %@", thirdNumber); // Print "Third number = 3" // Dictionary object NSDictionary *aDictionary = @{ @"key1" : @"value1", @"key2" : @"value2" }; |