Finding out the Number of Elements in an Array

suggest change
NSArray *myColors = [NSArray arrayWithObjects: @"Red", @"Green", @"Blue", @"Yellow", nil];
NSLog (@"Number of elements in array = %lu", [myColors count]);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


NSArray:
*Finding out the Number of Elements in an Array

Table Of Contents