Inherits from TKView : UIView
Declared in TKSideDrawerHeader.h

Overview

Defines a header view for TKSideDrawer or TKSideDrawerSection.

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

stack

The stack layout.

@property (nonatomic, strong, readonly, nonnull) TKCoreStackLayout *stack

Declared In

TKSideDrawerHeader.h

titleLabel

The text label.

@property (nonatomic, strong, readonly, nonnull) UILabel *titleLabel

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