Type Method


Fetches all the keys required for the contact sort comparator.


class func descriptorForAllComparatorKeys() -> CNKeyDescriptor

Return Value

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


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

class func comparator(forNameSortOrder: CNContactSortOrder) -> Comparator

Returns a comparator to sort contacts with the specified order.

func isUnifiedWithContact(withIdentifier: String) -> Bool

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

enum CNContactSortOrder

Indicates the sorting order for contacts.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software