summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2013-08-17 21:41:55 -0700
committerAdam Bard <github@adambard.com>2013-08-17 21:41:55 -0700
commit9c2e4b17ed23cc9ee9842e786d429266298aa506 (patch)
tree639659f787887ae79daf0b75aec39d9e42981399
parent2c89ae1cf6ee2316ca96be5620c589612b72d627 (diff)
parentdcdfd9114f3d606ede2a3d4967e7699579427e46 (diff)
Merge pull request #248 from JakeHurlbut/patch-1
Corrected Array Object NSLog Call
-rw-r--r--objective-c.html.markdown2
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" };