title: NSMutableArray with int values from 1 to 100
body: <p>This should be dead easy, but somehow it doesn't want to work for me. Using iOS 7 and XCode 5.
  All I'm trying to do is create an array with values from 1 to 100.</p>
  
  <pre><code>NSMutableArray *array;
  for (int i = 0; i &lt; 100; i++)
  {
      [array addObject:i];
  }
  </code></pre>
  
  <p>This doesn't work. I get a "Implicit conversion of 'int' to 'id' is disallowed with ARC.
  I get it, I can't add primitive types to an NSMutableArray.</p>
  
  <pre><code>    [array addObject:@i];
  </code></pre>
  
  <p>This doesn't work either. I get a "unexpected '@' in program"</p>
  
  <pre><code>    [array addObject:[NSNumber numberWithInt:i]];
      [array addObject:[NSNumber numberWithInteger:i]];
  </code></pre>
  
  <p>(either case) This "works" (compiles) but it really doesn't "work". The problem with this is that the value from NSNumber is really not a 1-100. What I get for each row is "147212864", 147212832", "147212840"...not what I want.</p>
  
  <p>Lastly:</p>
  
  <pre><code>for (NSNumber *i = 0; i &lt; [NSNumber numberWithInteger:100]; i++)
  {
      [array addObject:i];
  }
  </code></pre>
  
  <p>This also doesn't compile. I get an error on the i++. "Arithmetic on pointer to interface 'NSNumber', which is not a constant size for this architecture and platform"</p>
  
  <p>Any suggestions on how to do this extremely simple thing on obj-c?</p>