Contents

predicateForContactsInContainer(withIdentifier:)

Returns a predicate to find the contacts in the specified container.

Declaration

class func predicateForContactsInContainer(withIdentifier containerIdentifier: String) -> NSPredicate

Parameters

  • containerIdentifier:

    The container identifier to be matched.

Return Value

A predicate that can be used to fetch contacts from CNContactStore.

See Also

Getting Search Predicates