title: adding NSInteger object to NSMutableArray
body: <p>I have an NSMutableArray </p>
  
  <pre><code>@interface DetailViewController : UIViewController &lt;UITableViewDelegate, UITableViewDataSource&gt; {
  
  NSMutableArray *reponses;
  }
  @property (nonatomic, retain) NSMutableArray *reponses;
  
  @end
  </code></pre>
  
  <p>and i'm trying to add in my array NSInteger object:</p>
  
  <pre><code>@synthesize reponses;
  
  
  
  NSInteger val2 = [indexPath row];
  [reponses addObject:[NSNumber numberWithInteger:val2]];
  NSLog(@"the array is %@ and the value is %i",reponses, val2);
  </code></pre>
  
  <p>it won't work the object was not added to the array, this is what console shows:</p>
  
  <pre><code>the array is (null) and the value is 2
  </code></pre>