Inherits from TKView : UIView
Conforms to UIKeyInput
Declared in TKAutoCompleteTokenView.h

Overview

Defines the token visual object.

Tasks

Properties

highlightedView

The highlighted view.

@property (nonatomic, strong, nonnull) UIView *highlightedView

Declared In

TKAutoCompleteTokenView.h

imageView

The image view representing the token image.

@property (nonatomic, strong, readonly, nonnull) UIImageView *imageView

Declared In

TKAutoCompleteTokenView.h

isHighlighted

Defines whether or not the token is highlighted.

@property (nonatomic) BOOL isHighlighted

Declared In

TKAutoCompleteTokenView.h

owner

The TKAutoCompleteView in which the token presents.

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

Declared In

TKAutoCompleteTokenView.h

removeButton

The token remove button.

@property (nonatomic, strong, nonnull) UIButton *removeButton

Declared In

TKAutoCompleteTokenView.h

textLabel

The text label showing the token text.

@property (nonatomic, strong, readonly, nonnull) UILabel *textLabel

Declared In

TKAutoCompleteTokenView.h

token

The data model object.

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

Declared In

TKAutoCompleteTokenView.h

tokenInset

Token inset.

@property (nonatomic) CGFloat tokenInset

Declared In

TKAutoCompleteTokenView.h

Instance Methods

initWithToken:

Initializes the TKAutoCompleteTokenView with token object model.

- (instancetype __nonnull)initWithToken:(TKAutoCompleteToken *__nonnull)token

Parameters

token

The token objec model.

Declared In

TKAutoCompleteTokenView.h