Hi,
I need to keep track of rows in sections in my UITableView. For this I want to create an array in which I put an amount of rows in each section. This array should be of a certain size - so I suppose it would be better to use NSArray instead of NSMutableArray.
My question is - how can I initialize it with a certain number of objects of type NSInteger initially set to 0? And how can I alter that array - in my particular case to increase value of each item when I need it?
For instance:
while (objects) { myArray.(object string's first letter transformed to int)++; }
Thank you in advance.