Conforms to NSObject
Declared in TKAutoCompleteTextView.h

Overview

The TKAutoCompleteSuggestViewDelegate protocol allow you to define the behavior of a view which is intended to work as a suggestView for the autocomplete.

Tasks

Instance Methods

hide

Defines how the view will hide itself.

- (void)hide

Declared In

TKAutoCompleteTextView.h

populateWithItems:

Defines how the view will be populated with items.

- (void)populateWithItems:(NSArray<__kindofTKAutoCompleteToken*> *__nonnull)items

Parameters

items

The items that will be presented.

Declared In

TKAutoCompleteTextView.h

reloadSuggestions

Reload the suggestion items.

- (void)reloadSuggestions

Declared In

TKAutoCompleteTextView.h

selectedItem

Called when a suggestion item is selected.

- (TKAutoCompleteToken *__nullable)selectedItem

Declared In

TKAutoCompleteTextView.h

shouldAlwaysHideSuggestionView

Defines if the suggestion view should be allways hidden.

- (BOOL)shouldAlwaysHideSuggestionView

Declared In

TKAutoCompleteTextView.h

show

Defines how the view will show itself.

- (void)show

Declared In

TKAutoCompleteTextView.h