Exercises

1. Sort the address book by first or last name using the ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering method. Experiment with different sorting options.

2. Create a new person view controller, which allows the user to enter fields of his or her own. When the user is done entering information programmatically, save the new contact into the address book.

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.