Inherits from TKListView : UIView
Conforms to TKAutoCompleteSuggestViewDelegate
TKListViewDataSource
TKListViewDelegate
Declared in TKSuggestionListView.h

Overview

The default suggestions view used by the autocomplete.

Properties

items

The data collection which populates the view.

@property (strong, nonatomic, nonnull) NSArray<__kindofTKAutoCompleteToken*> *items

Declared In

TKSuggestionListView.h

owner

The TKAutoCompleteTextView objec owning the instance.

@property (weak, nonatomic, nullable) TKAutoCompleteTextView *owner

Declared In

TKSuggestionListView.h

progressBar

The progress bar indicating that operation is being performed and will take a while.

@property (strong, nonatomic, readonly, nonnull) UIProgressView *progressBar

Declared In

TKSuggestionListView.h

selectedIndexPath

The selected index path.

@property (weak, nonatomic, nullable) NSIndexPath *selectedIndexPath

Declared In

TKSuggestionListView.h

selectedItem

The selected item.

@property (weak, nonatomic, nullable) TKAutoCompleteToken *selectedItem

Declared In

TKSuggestionListView.h

Instance Methods

initWithAutoComplete:

Initializes the TKSuggestionListView with an corresponding TKAutoCompleteTextView object.

- (instancetype __nonnull)initWithAutoComplete:(TKAutoCompleteTextView *__nonnull)autocomplete

Parameters

autocomplete

The TKAutoCompleteTextView objec owning the instance.

Declared In

TKSuggestionListView.h