The Address Book technology for iOS 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 understand navigation controllers and view controllers, and understand delegation and protocols.
Organization of This Document
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.
Building Blocks: Working with Records and Properties describes how to create an address book object, how to create person and group records, and how to get and set properties.
User Interaction: Prompting for and Displaying Data describes how to use the views provided by the Address Book UI framework to display a contact, let the user select a contact, create a new contact, and edit a contact.
Direct Interaction: Programmatically Accessing the Database describes the ways your application can read and write contact information directly.
The following documents discuss some of the fundamental concepts you should understand in order to get the most out of this document:
App Programming Guide for iOS guides developers who are new to the iOS 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.
Programming with Objective-C 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 for iOS describes the API for direct interaction with records in the Address Book database.
Address Book UI Framework Reference for iOS describes the controllers that facilitate displaying, editing, selecting, and creating records in the Address Book database, and their delegate protocols.