Enumeration

CNContactSortOrder

Indicates the sorting order for contacts.

Declaration

enum CNContactSortOrder : Int

Overview

The value CNContactSortOrder.userDefault is the user's preferred sort order.

Topics

Sort Orders

case none

No sorting order.

case userDefault

The user’s default sorting order.

case givenName

Sorting contacts by given name.

case familyName

Sorting contacts by family name.

See Also

Configuring the Fetch Options

var mutableObjects: Bool

A Boolean value that indicates whether to return mutable contacts.

var unifyResults: Bool

A Boolean value that indicates whether to return linked contacts as unified contacts.

var sortOrder: CNContactSortOrder

The sort order for contacts.