Type Method

comparatorForNameSortOrder:

Returns a comparator to sort contacts with the specified order.

Declaration

+ (NSComparator)comparatorForNameSortOrder:(CNContactSortOrder)sortOrder;

Parameters

sortOrder

The preferred sort order, such as by given name.

Return Value

A comparator to order contacts.

See Also

Comparing Contacts

+ descriptorForAllComparatorKeys

Fetches all the keys required for the contact sort comparator.

- isUnifiedWithContactWithIdentifier:

Returns a Boolean indicating whether the current contact is a unified contact and includes a contact with the specified identifier.

CNContactSortOrder

Indicates the sorting order for contacts.