Contents

descriptorForAllComparatorKeys()

Fetches all the keys required for the contact sort comparator.

Declaration

class func descriptorForAllComparatorKeys() -> any CNKeyDescriptor

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