Storing ABRecordRef in Core Data <p>I would like to store a ABRecordRef in a 'Client' entity in core data. </p> <p>I have read in apples documentation that ABRecordRef is a primitive C data type. As far as I am aware, you can only insert objects in core data. With this in mind, what is the best way to store it in core data?</p> <p>I thought about converting it into a NSNumber for storage, but dont know how to convert it back to ABRecordRef for use.</p> <p>I also thought I could just put it in a NSArray/NSSet/NSDictionary on its own just acting as a wrapper but didnt know if this was silly/inefficient/would even work.</p> <p>Thoughts appreciated.</p> <p>Many thanks</p>