Next Page > Hide TOC

Address Book Programming Guide

Contents:

Who Should Read This Document ?
Organization of This Document


The Address Book is a centralized database for contact and other personal information for people. Applications that support the Address Book framework share this contact information with other applications, including Mail and iChat. Both Carbon and Cocoa applications can access users’ address books. This topic covers key Address Book framework concepts and some operations you can perform with address books.

Important:  If your application uses the Sync Services and Address Book frameworks together, then you should not use Sync Services to sync data shared with the Address Book Framework. The Address Book Framework already syncs its records with Sync Services, so applications sharing the Address Book data do not have to (and should not) sync those records. The results are unpredictable and may result in data loss, if you attempt to sync the same data as the Address Book Framework.

The Address Book framework consists of two APIs: one for C, the other for Objective-C. While both API are equally functional, the majority of the code samples in this document are printed in Objective-C only. Where it is appropriate, this document will address fundamental differences between the two API, but will not list sample code in both languages. Both API are similar in syntax and conventions, and mapping the Objective-C sample code to its C counterpart can be done easily using the Address Book Reference for C. Developers using the C API should also refer to “Using Address Book from C.”

Who Should Read This Document ?

This topic is designed for any Cocoa or Carbon developer who wants to leverage the abilities of the Mac OS X Address Book in their application. You will not only be able to access a user’s address book data, but also design and implement your own properties and actions for the data.

It is expected that you are already familiar with Xcode and the basics of either Cocoa or Carbon development.

Organization of This Document

The topic contains the following articles:



Next Page > Hide TOC


© 2002, 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-04-04)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.