I would like to save ABRecordRef in the Client object in the master data.
I read in the apples documentation that ABRecordRef is a primitive data type C. As far as I know, you can only insert objects in the main data. With that in mind, what's the best way to store it in master data?
I was thinking of converting it to NSNumber for storage, but don't know how to convert it back to ABRecordRef for use.
I also thought that I could just put it in an NSArray / NSSet / NSDictionary on my own, just acting like a wrapper, but didn't know if it was stupid / inefficient / even worked.
Thoughts appreciated.
Many thanks
source share