Contents

ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(_:_:_:)

Returns an array of all person records in the address book, sorted with the specified order.

Declaration

func ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(_ addressBook: ABAddressBook!, _ source: ABRecord!, _ sortOrdering: ABPersonSortOrdering) -> Unmanaged<CFArray>!

Parameters

  • addressBook:

    The address book whose person records are being returned.

  • source:

    The source whose records are being returned.

  • sortOrdering:

    Indicates whether to sort by first name or by last name. See 1619730 Sort Order.

Return Value

An array of all person records in the address book database, sorted by sortOrdering.

See Also

Deprecated