I\'ve got the following bit of code in one of my methods: ... NSNumber *selectedRecordID = [NSNumber numberWithInt:ABRecordGetRecordID(person)];