---
title: predicateForEnablingContact
framework: contactsui
role: symbol
role_heading: Instance Property
path: contactsui/cncontactpickerviewcontroller/predicateforenablingcontact
---

# predicateForEnablingContact

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

## Declaration

```swift
@NSCopying var predicateForEnablingContact: NSPredicate? { get set }
```

## Discussion

Discussion You can set a value for this property to determine which contact should become selectable, such as emailAddresses.@count > 0 to enable all the contacts that have an email address to become selectable. If no predicate is set for this property, all contacts become selectable. To learn about predicate syntax, see NSPredicate.

## See Also

### Predicates For Selecting Contacts

- [predicateForSelectionOfContact](contactsui/cncontactpickerviewcontroller/predicateforselectionofcontact.md)
- [predicateForSelectionOfProperty](contactsui/cncontactpickerviewcontroller/predicateforselectionofproperty.md)
