---
title: nsPredicate
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/sectionedfetchrequest/configuration/nspredicate
---

# nsPredicate

The request’s predicate.

## Declaration

```swift
var nsPredicate: NSPredicate?
```

## Discussion

Discussion Set this configuration value to cause a SectionedFetchRequest to execute a fetch with a new predicate. Access this value for a given request by using the nsPredicate property on the associated SectionedFetchResults instance, either directly or with a Binding.
