开发者

number of elements in NSMutableArray

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜