Mac OS X Reference Library Apple Developer Connection spyglass button

Importing and Exporting Address Book People and Groups

You can import and export people in the Address Book using the vCard format. To create a vCard representation of a person, use the 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.

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



Last updated: 2009-08-07

Did this document help you? Yes It's good, but... Not helpful...