Contents

ABAddressBook

The main object you use to access the Address Book database.

Declaration

class ABAddressBook

Overview

The ABAddressBook class provides a programming interface to the Address Book—a centralized database used by multiple applications to store contact and other personal information about people. The Address Book database also supports the notion of a “group” containing one or more persons. People may belong to multiple groups, and groups may also belong to other groups with some restrictions (for example, no circular references are allowed).

The ABAddressBook class is “toll-free bridged” with its procedural C opaque-type counterpart. This means that the ABAddressBookRef type is interchangeable in function or method calls with instances of the ABAddressBook class.

Topics

Creating and Initializing an Address Book

Retrieving Groups and People

Setting and Retrieving the Logged-in User’s Record

Retrieving a Specific Record

Retrieving the Class of a Record

Retrieving a Formatted Address

Retrieving Default Values

Adding and Removing Records

Searching

Saving and Detecting Changes

Constants

Notifications