Importing and Exporting Person and Group Records

You can import and export person records using the vCard format. To create a vCard representation of a person, use the ABPerson method vCardRepresentation. This method creates an NSData structure that you can use in your program or save to a file. To enable drag and drop for this data, use a file promise as described in Dragging Files in Drag and Drop Programming Topics.

To create a person record from a vCard representation, use the ABPerson method initWithVCardRepresentation:.