Corrected Array Object NSLog Call

This commit is contained in:
JakeHurlbut 2013-08-17 18:06:23 -04:00
parent 2c89ae1cf6
commit dcdfd9114f

View File

@ -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" };