开发者

How To Count Objects In Header File?

novice Objective-C programmer here.

Could you please tell me a way to count the number of objects in the header file that I've provided properties for?

I've declared several arrays and I don't want to hardcode their number (e.g. [self objectCount].

T开发者_StackOverflow中文版he header file is UITableViewController, I've declared four NSMutableArrays and I've given them properties (e.g. set up getters and setters).

Will be much appreciated

Thanks


[self.object count];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜