The Address Book technology for iPhone OS provides a way to store people’s contact information and other personal information in a centralized database, and to share this information between applications. The technology has several parts:
The Address Book framework provides access to the contact information.
The Address Book UI framework provides the user interface to display the information.
The Address Book database stores the information.
The Contacts application provides a way for users to access their contact information.
This document covers the key concepts of the Address Book technology and explains the basic operations you can perform. When you add this technology to your application, users will be able to use the contact information that they use in other applications, such as Mail and Text, in your application. This document tells you how to do the following:
Access the user’s Address Book database
Prompt the user for contact information
Display contact information to the user
Make changes to the user’s Address Book database
To get the most out of this document, you should already be familiar with the basics of development for the iPhone, understand navigation controllers and view controllers, and understand delegation and protocols.
This document contains the following chapters:
“Quick Start Tutorial” gets you up and running by showing you how to create a simple application that uses the Address Book technology.
“Working with Address Book Objects” describes how to create an address book object, how to create person and group objects, and how to get and set properties.
“Interacting Using UI Controllers” describes how to use the views provided in the Address Book UI framework to display a contact, let the user select a contact, create a new contact, and edit a contact.
“Interacting Directly with the Address Book Database” describes the ways your application can interact with person and group records directly.
The following documents discuss some of the fundamental concepts you should understand in order to get the most out of this document:
iPhone Application Programming Guide guides developers who are new to the iPhone OS platform through the available technologies and how to use them to build applications. It includes relevant discussion of windows, views, and view controllers.
Interface Builder User Guide explains how to use Interface Builder to create applications. It includes relevant discussion of the user interface for an application and making connections from the interface to the code.
Cocoa Fundamentals Guide and The Objective-C Programming Language discuss many basic concepts you will need to write any application. It includes relevant discussion of delegation and protocols.
The following documents contain additional information about the Address Book frameworks:
Address Book Framework Reference describes the API for direct interaction with records in the Address Book database.
Address Book UI Framework Reference describes the controllers that facilitate displaying, editing, selecting, and creating records in the Address Book database, and their delegate protocols.
Last updated: 2009-10-05