title: Incompatible Integer to pointer conversion sending 'NSInteger' (aka 'int') to parameter of type 'NSInteger *' (aka 'int *')
body: <p>I'm trying to parse an integer from a NSDictionary using the code </p>
  
  <p><code>[activeItem setData_id:[[NSString stringWithFormat:@"%@", [dict valueForKeyPath:@"data_id"]] integerValue]];</code></p>
  
  <p>However, this is giving me this error: <code>Incompatible integer to pointer conversion sending 'NSInteger' (aka 'int') to parameter of type 'NSInteger *' (aka 'int *')</code></p>
  
  <p>setData_id takes an integer as a parameter. If I want to parse to a string, <code>[NSString stringWithFormat:@"%@", [dict valueForKeyPath:@"data_id"]]</code> works perfectly. </p>
  
  <p>What I'm doing here is parsing the result of valueForKeyPath to a String, then parsing an integer from that.</p>