title: how to set initial values in array to 0
body: <p>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.</p>
  
  <p>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?</p>
  
  <p>For instance:</p>
  
  <pre><code>while (objects)
  {
   myArray.(object string's first letter transformed to int)++;
  }
  </code></pre>