XEEAddressBookManager is a helper class designed to alleviate the difficulties with handling address book contacts from user's device.
XEEAddressBookManager* addressBookManager = [[XEEAddressBookManager alloc] init];
[addressBookManager allContactsFromAddressbook:^(NSArray *contacts) {
NSLog(@"%d contacts retrieved.", contacts.count);
for (XEEAddressBookContact* contact in contacts) {
NSLog(@"%@ %@", contact.firstName, contact.lastName);
}
}];
Contacts retrieved from device address book are encapsulated using XEEAddressBookContact model.
Follow XEETech on Twitter (XEE Tech).
Connect with us on LinkedIn (@XEE_Tech).
XEEPluralizer is available under the MIT license. See the LICENSE file for more info.