---
title: predicate
framework: contacts
role: symbol
role_heading: Instance Property
path: contacts/cncontactfetchrequest/predicate
---

# predicate

The predicate to match contacts against.

## Declaration

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

## Discussion

Discussion Set the value of this property to nil to match all contacts or use the search predicates in CNContact. Compound predicates are not supported.
