TKInputKey Class Reference
| Inherits from | UIView |
| Declared in | TKInputKey.h TKInputKey.m |
Tasks
Other Methods
-
+ keyWithFrame:symbol:normalType:selectedType:runner: -
– initWithFrame:symbol:normalType:selectedType:runner:
Properties
-
normalTypeproperty -
highlighedTypeproperty -
runnerproperty -
labelproperty -
symbolproperty -
– setHighlighted:
Properties
highlighedType
The display mode when the key is in a highlighted state.
@property (nonatomic, assign) TKInputKeyType highlighedTypeDeclared In
TKInputKey.hlabel
The label that displays the text symbol.
@property (nonatomic, strong) UILabel *labelDeclared In
TKInputKey.hnormalType
The display mode when the key is in a normal state.
@property (nonatomic, assign) TKInputKeyType normalTypeDeclared In
TKInputKey.hClass Methods
keyWithFrame:symbol:normalType:selectedType:runner:
Initializes an input key.
+ (instancetype)keyWithFrame:(CGRect)frame symbol:(id)symbol normalType:(TKInputKeyType)normal selectedType:(TKInputKeyType)highlighted runner:(BOOL)runnerParameters
- 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.
Declared In
TKInputKey.hInstance Methods
initWithFrame:symbol:normalType:selectedType:runner:
Initializes an input key.
- (instancetype)initWithFrame:(CGRect)frame symbol:(id)symbol normalType:(TKInputKeyType)normal selectedType:(TKInputKeyType)highlighted runner:(BOOL)runnerParameters
- 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.
Declared In
TKInputKey.h