diff options
author | JakeHurlbut <jmhurlbut@gmail.com> | 2013-08-17 18:06:23 -0400 |
---|---|---|
committer | JakeHurlbut <jmhurlbut@gmail.com> | 2013-08-17 18:06:23 -0400 |
commit | dcdfd9114f3d606ede2a3d4967e7699579427e46 (patch) | |
tree | 639659f787887ae79daf0b75aec39d9e42981399 /objective-c.html.markdown | |
parent | 2c89ae1cf6ee2316ca96be5620c589612b72d627 (diff) |
Corrected Array Object NSLog Call
Diffstat (limited to 'objective-c.html.markdown')
-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" }; |