Instance Property

predicateForSelectionOfContact

A predicate to control the return of the selected contact.

Declaration

@NSCopying var predicateForSelectionOfContact: NSPredicate? { get set }

Discussion

This property determines whether a selected contact should be returned (when the predicate evaluates to TRUE), or a default action for the property should be performed (when the predicate evaluates to FALSE). By default the contact picker view controller displays the contact’s detail card when a contact is selected. To learn about predicates, see NSPredicate.

See Also

Predicates For Selecting Contacts

var predicateForEnablingContact: NSPredicate?

A predicate to determine the contact selectability in the list of contacts.

var predicateForSelectionOfProperty: NSPredicate?

A predicate to control the properties of the selected contact.