Number of objects in an NSArray
I was wondering if there was any possible way to get the 开发者_C百科number (count) of objects in an NSArray Object
You bet! From Apple's documentation:
NSUInteger numObjects = [myArray count];
Yes: int count = [array count];
精彩评论