---
title: "criteria(forRow:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsruleeditor/criteria(forrow:)"
---

# criteria(forRow:)

Returns the currently chosen items for a given row.

## Declaration

```swift
func criteria(forRow row: Int) -> [Any]
```

## Parameters

- `row`: The index of a row in the receiver.

## Return Value

Return Value The currently chosen items for row row.

## Discussion

Discussion The items returned are the same as those returned by calling the delegate’s ruleEditor(_:child:forCriterion:with:) method once for each item in the row.

## See Also

### Providing Data

- [reloadCriteria()](appkit/nsruleeditor/reloadcriteria().md)
- [setCriteria(_:andDisplayValues:forRowAt:)](appkit/nsruleeditor/setcriteria(_:anddisplayvalues:forrowat:).md)
- [displayValues(forRow:)](appkit/nsruleeditor/displayvalues(forrow:).md)
