The array of candidate objects previously set by set
.
SDK
- macOS 10.12.1+
Framework
- App
Kit
Declaration
var candidates: [CandidateType] { get }
The array of candidate objects previously set by set
.
SDK
Framework
var candidates: [CandidateType] { get }
func set Candidates([Candidate Type], for Selected Range: NSRange, in: String?)
Sets an array of candidate objects to be displayed in the candidate list bar item.
var attributed String For Candidate: ((Candidate Type, Int) -> NSAttributed String)?
A block that converts a candidate object into an attributed string for display in the candidate list item.
var allows Text Input Context Candidates: Bool
A Boolean value that specifies whether a candidate list item displays candidates from text input providers.