TKSideDrawerHeader Class Reference
Inherits from | TKView : UIView |
Declared in | TKSideDrawerHeader.h |
Tasks
-
titleLabel
property -
actionButton
property -
imageView
property -
separator
property -
buttonPosition
property -
imagePosition
property -
stack
property -
contentInsets
property -
separatorColor
property -
– initWithTitle:
-
– initWithTitle:button:
-
– initWithTitle:image:
-
– initWithTitle:button:image:
Properties
actionButton
The action button.
@property (nonatomic, strong, nonnull) UIButton *actionButton
Declared In
TKSideDrawerHeader.h
buttonPosition
Determines the button position.
@property (nonatomic) TKSideDrawerHeaderButtonPosition buttonPosition
Declared In
TKSideDrawerHeader.h
contentInsets
The margins of the content.
@property (nonatomic) UIEdgeInsets contentInsets
Declared In
TKSideDrawerHeader.h
imagePosition
Determines the image view position.
@property (nonatomic) TKSideDrawerItemImagePosition imagePosition
Declared In
TKSideDrawerHeader.h
imageView
The image view.
@property (nonatomic, strong, readonly, nonnull) UIImageView *imageView
Declared In
TKSideDrawerHeader.h
separator
The separator view.
@property (nonatomic, strong, readonly, nonnull) UIView *separator
Declared In
TKSideDrawerHeader.h
separatorColor
The color used for the separator view.
@property (nonatomic, strong, nullable) TKFill *separatorColor
Declared In
TKSideDrawerHeader.h
Instance Methods
initWithTitle:
Initializes a new TKSideDrawer instance.
- (instancetype __nonnull)initWithTitle:(NSString *__nonnull)title
Parameters
- title
The NSString that is used as a title for TKSideDrawerHeader.
Return Value
The new TKSideDrawerHeader instance.
Declared In
TKSideDrawerHeader.h
initWithTitle:button:
Initializes a new TKSideDrawerHeader instance.
- (instancetype __nonnull)initWithTitle:(NSString *__nonnull)title button:(UIButton *__nullable)button
Parameters
- title
The NSString that is used as a title for TKSideDrawerHeader.
- button
The TKSideDrawerHeader’s button.
Return Value
The new TKSideDrawerHeader instance.
Declared In
TKSideDrawerHeader.h
initWithTitle:button:image:
Initializes a new TKSideDrawerHeader instance.
- (instancetype __nonnull)initWithTitle:(NSString *__nonnull)title button:(UIButton *__nullable)button image:(UIImage *__nullable)image
Parameters
- title
The NSString that is used as a title for TKSideDrawerHeader.
- button
The TKSideDrawerHeader’s button.
- image
The TKSideDrawerHeader’s image.
Return Value
The new TKSideDrawerHeader instance.
Declared In
TKSideDrawerHeader.h
initWithTitle:image:
Initializes a new TKSideDrawerHeader instance.
- (instancetype __nonnull)initWithTitle:(NSString *__nonnull)title image:(UIImage *__nullable)image
Parameters
- title
The NSString that is used as a title for TKSideDrawerHeader.
- image
The TKSideDrawerHeader’s image.
Return Value
The new TKSideDrawerHeader instance.
Declared In
TKSideDrawerHeader.h