Type Method

descriptorForAllComparatorKeys

Fetches all the keys required for the contact sort comparator.

Declaration

+ (id<CNKeyDescriptor>)descriptorForAllComparatorKeys;

Return Value

A descriptor object that defines the keys required by the sort comparator.

Discussion

Use the returned object to specify the keys you want to fetch from the database. For example, use it when creating a CNContactFetchRequest object.

See Also

Comparing Contacts

+ comparatorForNameSortOrder:

Returns a comparator to sort contacts with the specified order.

- 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.