---
title: criteriaKeyPath
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsruleeditor/criteriakeypath
---

# criteriaKeyPath

The criteria key path.

## Declaration

```swift
var criteriaKeyPath: String { get set }
```

## Discussion

Discussion The key path is used to get the criteria for a row in the “rows” binding. The criteria objects are the objects returned by calling the delegate’s ruleEditor(_:child:forCriterion:with:) method once for every child in the specified row. The corresponding property is an ordered to-many relationship. The default value is @"criteria".

## See Also

### Supporting Bindings

- [rowClass](appkit/nsruleeditor/rowclass.md)
- [rowTypeKeyPath](appkit/nsruleeditor/rowtypekeypath.md)
- [subrowsKeyPath](appkit/nsruleeditor/subrowskeypath.md)
- [displayValuesKeyPath](appkit/nsruleeditor/displayvalueskeypath.md)
