TKInputView Class Reference
Inherits from | UIView |
Conforms to | UIInputViewAudioFeedback |
Declared in | TKInputView.h TKInputView.m |
Overview
TKInputView
is intended to be a custom keyboard
that you can present to the user instead of the
customary Apple provided keyboards.
Tasks
Other Methods
Properties
-
delegate
property -
textField
property -
backspaceKey
property -
hideKeyboardKey
property -
selectedKey
property -
containerView
property
Properties
backspaceKey
The backspace key.
@property (nonatomic, strong) TKInputKey *backspaceKey
Declared In
TKInputView.h
containerView
The view that contains all the keys. This view becomes useful when dealing with iPad formatting.
@property (nonatomic, strong) UIView *containerView
Declared In
TKInputView.h
delegate
The delegate must adopt the TKInputViewDelegate
protocol. The delegate is not retained.
@property (nonatomic, weak) id<TKInputViewDelegate> delegate
Declared In
TKInputView.h
hideKeyboardKey
The key that will resign the text field.
@property (nonatomic, strong) TKInputKey *hideKeyboardKey
Declared In
TKInputView.h
Instance Methods
initWithFrame:withKeysModels:
Initializes an input view. Invoke this method for subclasses.
- (instancetype)initWithFrame:(CGRect)frame withKeysModels:(NSArray *)keys
Parameters
- frame
The frame of the
UIView
.
- keys
The keys included on the view.
Return Value
An initialized TKInputView
object or nil if the object couldn’t be created.
Declared In
TKInputView.h