Type Method

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

class func predicateForGroups(withIdentifiers: [String]) -> NSPredicate

Returns a predicate to find groups with the specified identifiers.

class func predicateForSubgroupsInGroup(withIdentifier: String) -> NSPredicate

Returns a predicate to find subgroups in the specified parent group.