IMCandidateInfo Class Reference
Inherits from | NSObject |
Declared in | IMCandidateInfo.h |
Tasks
-
range
property -
selectedIndex
property -
labels
property -
completions
property -
sources
property -
+ candidateInfoWithRange:selectedIndex:labels:completions:sources:
Properties
labels
Array of candidate labels for this character range.
@property (nonatomic, readonly) NSArray *labels
Declared In
IMCandidateInfo.h
selectedIndex
Index of the selected candidate and completion labels.
@property (nonatomic, readonly) NSInteger selectedIndex
Declared In
IMCandidateInfo.h
sources
Array of LK sources for this character range.
@property (nonatomic, readonly) NSArray *sources
Declared In
IMCandidateInfo.h
Class Methods
candidateInfoWithRange:selectedIndex:labels:completions:sources:
Create a new candidate info object.
+ (instancetype)candidateInfoWithRange:(NSRange)range selectedIndex:(NSInteger)selectedIndex labels:(NSArray *)labels completions:(NSArray *)completions sources:(NSArray *)sources
Parameters
- range
NSRange range of the candidate info.
- selectedIndex
NSUInteger index of the selected candidate.
- labels
NSArray array of labels.
- completions
NSArray array of completions.
- sources
NSArray array of sources.
Declared In
IMCandidateInfo.h