TKInputKey Class Reference
Inherits from | UIView |
Declared in | TKInputKey.h |
Tasks
Other Methods
-
+ keyWithFrame:symbol:normalType:selectedType:runner:
Initializes an input key.
-
– initWithFrame:symbol:normalType:selectedType:runner:
Initializes an input key.
Properties
-
normalType
The display mode when the key is in a normal state.
property -
highlighedType
The display mode when the key is in a highlighted state.
property -
runner
If yes, the key can be highlighted and selected even if it isn’t the initial key touched at the beginning.
property -
label
The label that displays the text symbol.
property -
symbol
The symbol image view.
property -
– setHighlighted:
The backspace key.
Properties
highlighedType
The display mode when the key is in a highlighted state.
@property (nonatomic, assign) TKInputKeyType highlighedType
Discussion
The display mode when the key is in a highlighted state.
Declared In
TKInputKey.h
label
The label that displays the text symbol.
@property (nonatomic, strong) UILabel *label
Discussion
The label that displays the text symbol.
Declared In
TKInputKey.h
normalType
The display mode when the key is in a normal state.
@property (nonatomic, assign) TKInputKeyType normalType
Discussion
The display mode when the key is in a normal state.
Declared In
TKInputKey.h
Class Methods
keyWithFrame:symbol:normalType:selectedType:runner:
Initializes an input key.
+ (id)keyWithFrame:(CGRect)frame symbol:(id)symbol normalType:(TKInputKeyType)normal selectedType:(TKInputKeyType)highlighted runner:(BOOL)runner
Parameters
- frame
The frame of the
UIView
.
- symbol
A image or string for the key.
- normal
A image or string for the key.
- highlighted
A image or string for the key.
- runner
If yes, the key can be highlighted and selected even if it isn’t the initial key touched at the beginning.
Return Value
An initialized TKInputKey
object or nil if the object couldn’t be created.
Discussion
Initializes an input key.
Declared In
TKInputKey.h
Instance Methods
initWithFrame:symbol:normalType:selectedType:runner:
Initializes an input key.
- (id)initWithFrame:(CGRect)frame symbol:(id)symbol normalType:(TKInputKeyType)normal selectedType:(TKInputKeyType)highlighted runner:(BOOL)runner
Parameters
- frame
The frame of the
UIView
.
- symbol
A image or string for the key.
- normal
A image or string for the key.
- highlighted
A image or string for the key.
- runner
If yes, the key can be highlighted and selected even if it isn’t the initial key touched at the beginning.
Return Value
An initialized TKInputKey
object or nil if the object couldn’t be created.
Discussion
Initializes an input key.
Declared In
TKInputKey.h