TKInputView Class Reference
Inherits from | UIView |
Conforms to | UIInputViewAudioFeedback |
Declared in | TKInputView.h |
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
-
– initWithFrame:withKeysModels:
Initializes an input view. Invoke this method for subclasses.
Properties
-
delegate
The delegate must adopt the
propertyTKInputViewDelegate
protocol. The delegate is not retained. -
textField
The text field using the custom input view. The text field is not retained.
property -
backspaceKey
The backspace key.
property -
hideKeyboardKey
The key that will resign the text field.
property -
selectedKey
The current key that is being touched down.
property -
containerView
The view that contains all the keys. This view becomes useful when dealing with iPad formatting.
property
Properties
backspaceKey
The backspace key.
@property (nonatomic, strong) TKInputKey *backspaceKey
Discussion
The backspace key.
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
Discussion
The view that contains all the keys. This view becomes useful when dealing with iPad formatting.
Declared In
TKInputView.h
delegate
The delegate must adopt the TKInputViewDelegate
protocol. The delegate is not retained.
@property (nonatomic, weak) id<TKInputViewDelegate> delegate
Discussion
The delegate must adopt the TKInputViewDelegate
protocol. The delegate is not retained.
Declared In
TKInputView.h
hideKeyboardKey
The key that will resign the text field.
@property (nonatomic, strong) TKInputKey *hideKeyboardKey
Discussion
The key that will resign the text field.
Declared In
TKInputView.h
Instance Methods
initWithFrame:withKeysModels:
Initializes an input view. Invoke this method for subclasses.
- (id)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.
Discussion
Initializes an input view. Invoke this method for subclasses.
Declared In
TKInputView.h