title: Objective-C:How to Converting int to id for selector's object?
body: <p>I received a return value from SQLite fetch </p>
  
  <pre><code>int primaryKey = sqlite3_column_int(statement, 0);
  </code></pre>
  
  <p>and I'm going to use it as a selector's object:</p>
  
  <pre><code>[[ABC alloc] performSelector:@selector(abcWithAAA:) withObject:[NSNumber numberWithInt:primaryKey]];
  </code></pre>
  
  <p>the NSLog result for primarykey is a number 4:</p>
  
  <pre><code>NSLog(@"primaryKey：%i",primaryKey);
  4
  </code></pre>
  
  <p>but the NSLog result for [NSNumber numberWithInt:primaryKey] is 131628896.</p>
  
  <p>why? and how do i convert the int value correctly?</p>
  
  <p>Thanks!</p>