开发者

number of elements in NSMutableArray

开发者 https://www.devze.com 2022-12-21 03:24 出处:网络
How to know at r开发者_开发技巧untime how many array elements are there in NSMutableArray?NSArray (NSMutableArray is a subclass of NSArray) has a count method.

How to know at r开发者_开发技巧untime how many array elements are there in NSMutableArray?


NSArray (NSMutableArray is a subclass of NSArray) has a count method.

Example:

NSUInteger arrayLength = [myMutableArray count];


By reading the documentation for the class you are interested in.

0

精彩评论

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