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

# displayValues(forRow:)

Returns the chosen values for a given row.

## Declaration

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

## Parameters

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

## Return Value

Return Value The chosen values (strings, views, or menu items) for row row.

## Discussion

Discussion The values returned are the same as those returned from the delegate’s ruleEditor(_:displayValueForCriterion:inRow:) method.

## See Also

### Providing Data

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