开发者

Number of objects in an NSArray

开发者 https://www.devze.com 2022-12-10 16:35 出处:网络
I was wondering if there was any possible way to get the 开发者_C百科number (count) of objects in an NSArray ObjectYou bet! From Apple\'s documentation:

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];

0

精彩评论

暂无评论...
验证码 换一张
取 消