---
title: allowsTextInputContextCandidates
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscandidatelisttouchbaritem/allowstextinputcontextcandidates
---

# allowsTextInputContextCandidates

A Boolean value that specifies whether a candidate list item displays candidates from text input providers.

## Declaration

```swift
var allowsTextInputContextCandidates: Bool { get set }
```

## Discussion

Discussion When true, the candidate list item shows candidates from the text input client provided in the client property, before those in the candidates property. The default value of this property is true.

## See Also

### Populating the candidate list

- [setCandidates(_:forSelectedRange:in:)](appkit/nscandidatelisttouchbaritem/setcandidates(_:forselectedrange:in:).md)
- [candidates](appkit/nscandidatelisttouchbaritem/candidates.md)
- [attributedStringForCandidate](appkit/nscandidatelisttouchbaritem/attributedstringforcandidate.md)
