How do you get the size of an NSArray and print it in the console using NSLog?
NSArray
NSLog
Size can be determined by sending 'count' to the NSArray instance, and printing to console can be done via NSLog(), eg:
NSArray * array = [NSArray arrayWithObjects:@"one", @"two", @"three", nil]; NSLog(@"array size is %d", [array count]);