This sample demonstrates how to use the AddressBook's ABPeoplePickerView class. It embeds an ABPeoplePickerView object in a window, which includes controls for view options and access to data the user has selected.
This sample also shows how to:
-Integrate the People Picker view into a Cocoa application using Interface Builder.
-Display the current user's address book (groups and contacts).
-Allow group selections and multiple selections at a time.
-Perform actions such as showing information about selected records or groups and selecting and editing records from the user's address book.
-Display a user's selected properties.
Xcode 3.0 or later
Mac OS X 10.4 or later
Using the Sample
Build and run this sample using Xcode 3.0 or later.
The application displays a People Picker view filled with details from the logged-in user address book. The picker contains the Properties, Selection, and Actions panes. Use the Properties pane to display this user's phone, address, email, Aim, and homepage information. Use the Selection pane to perform group selection or multiple selections. Use the Action pane to perform tasks from within the address book.
Address Book Programming Guide
Change from Previous Versions
-Updated for Xcode 3.0 and later.
Copyright (C) 2002-2010 Apple Inc. All rights reserved.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-01-12)