November 2013
Intermediate to advanced
576 pages
19h 3m
English
In the preceding section, it was demonstrated how to populate an NSArray with entries from the user’s address book—each of these objects is an ABRecordRef. In this section, pulling information back out of an ABRecordRef is covered.
The sample app will be displaying the user data through a UITableView. There will be two types of values contained within the ABRecordRef: The first type is a single value used for objects for which there can be only one, such as a first and last name, and the second type is a multivalue used when dealing with values that a user might have more than one of, such as a phone number or a street address.
The following code snippet pulls an ABRecordRef from the address book array that ...
Read now
Unlock full access