Contents

predicateForGroupsInContainer(withIdentifier:)

Returns a predicate to find groups in the specified container.

Declaration

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

Parameters

  • containerIdentifier:

    The container identifier to be matched.

Return Value

A predicate that you can use to fetch groups from CNContactStore.

See Also

Generating Search Predicates for Groups