Inherits from UIViewController
Declared in TKSideDrawerController.h

Overview

The container UIViewController that holds TKSideDrawer instance

Properties

contentController

The content controller of TKSideDrawerController.

@property (nonatomic, strong, nullable) UIViewController *contentController

Declared In

TKSideDrawerController.h

sideDrawers

The TKSideDrawer instance attached to TKSideDrawerController.

@property (nonatomic, strong, readonly, nonnull) NSArray *sideDrawers

Declared In

TKSideDrawerController.h

Instance Methods

addSideDrawer:

Adds TKSideDrawer to TKSideDrawerController.

- (void)addSideDrawer:(TKSideDrawer *__nonnull)sideDrawer

Parameters

sideDrawer

The TKSideDrawer that will be added.

Declared In

TKSideDrawerController.h

addSideDrawerAtPosition:

Add TKSideDrawer to the TKSideDrawerController instance at specified position.

- (TKSideDrawer *__nonnull)addSideDrawerAtPosition:(TKSideDrawerPosition)position

Parameters

position

The position of the TKSideDrawer.

Return Value

TKSideDrawer that was created.

Declared In

TKSideDrawerController.h

initWithContent:

Initializes the TKSideDrawerController with content.

- (instancetype __nonnull)initWithContent:(UIViewController *__nonnull)contentController

Parameters

contentController

TKSideDrawerController’s content UIViewController.

Declared In

TKSideDrawerController.h

removeAllSideDrawers

Remove all TKSideDrawers from TKSideDrawerView.

- (void)removeAllSideDrawers

Declared In

TKSideDrawerController.h

removeSideDrawer:

Remove TKSideDrawer from TKSideDrawerController.

- (void)removeSideDrawer:(TKSideDrawer *__nonnull)sideDrawer

Parameters

sideDrawer

The TKSideDrawer to be removed.

Declared In

TKSideDrawerController.h