Introduction
Address Book is a technology that encompasses a centralized database for contact and group information, an application for viewing that information, and a programmatic interface for accessing that information in your own applications. The database contains information such as user names, street addresses, email addresses, phone numbers, and distribution lists. Applications that use the Address Book framework can share this contact information with other applications, including Mail and Messages, or extend it to include application-specific information.
In addition to the Objective-C interface described in this book, the Address Book framework also provides a C interface. This document points out fundamental differences between the two as appropriate, but the majority of the code samples are written in Objective-C only. Developers using the C programming interface should refer to Using the Address Book C API and Address Book C Framework Reference for Mac for information about mapping the Objective-C code to C.
Who Should Read This Document?
This document is designed for anyone who wants to leverage the abilities of the OS X Address Book technology in their application. You should read it to learn how to access a user’s address book, add new properties to the address book database, and create action plug-ins for the Address Book application.
It is expected that you are already familiar with Xcode and the basics of Mac app development.
Organization of This Document
The document contains the following articles:
About the Address Book describes what’s in the Address Book database and what you can do with it.
Managing Address Book Records describes how to add and remove people and groups, how to arrange people into groups, and how to find the record for the logged-in user.
Accessing Address Book Records describes how to access data in a person or group record.
Searching an Address Book describes how to perform searches on a user’s address book.
Using Address Book Groups as Distribution Lists describes how to set up a group so you can use it as a mailing list, or other type of distribution list.
Adding Properties to Address Book Records describes how to customize an address book for your own applications by adding properties to it.
Creating and Using Address Book Action Plug-ins describes how to create action plug-ins which allow users to perform custom actions on address book data viewed within the Address Book application.
Importing and Exporting Person and Group Records describes how to import and export person records by using the vCard standard.
Using the Address Book C API contains special information for those using the Address Book C API.
See Also
Identity Services Programming Guide discusses a way to manage groups of users on a local system, including standard login accounts and sharing accounts.
Copyright © 2002, 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-04-23