I was wondering if there was any possible way to get the number (count) of objects in an NSArray Object
5303 次
2 に答える
25
You bet! From Apple's documentation:
NSUInteger numObjects = [myArray count];
于 2009-11-08T19:28:33.117 に答える
2
Yes: int count = [array count];
于 2009-11-08T19:29:58.550 に答える