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];
精彩评论