TKSideDrawerView Class Reference
Inherits from | UIView |
Declared in | TKSideDrawerView.h |
Properties
defaultSideDrawer
The default side drawer created when the TKSideDrawerView is instantiated.
@property (nonatomic, strong, readonly, nonnull) TKSideDrawer *defaultSideDrawer
Declared In
TKSideDrawerView.h
Instance Methods
addSideDrawer:
Adds TKSideDrawer to TKSideDrawerView.
- (void)addSideDrawer:(TKSideDrawer *__nonnull)sideDrawer
Parameters
- sideDrawer
The TKSideDrawer that will be added.
Declared In
TKSideDrawerView.h
addSideDrawerAtPosition:
Add TKSideDrawer to the TKSideDrawerView instance at specified position.
- (TKSideDrawer *__nonnull)addSideDrawerAtPosition:(TKSideDrawerPosition)position
Parameters
- position
The position of the TKSideDrawer.
Return Value
TKSideDrawer that was created.
Declared In
TKSideDrawerView.h
attachDrawerToWindow
Attach all sidedrawers to application’s key window.
- (void)attachDrawerToWindow
Declared In
TKSideDrawerView.h
detachDrawerFromWindow
Detach all sidedrawers from application’s key window.
- (void)detachDrawerFromWindow
Declared In
TKSideDrawerView.h
initWithFrame:mainView:
Initilizes new TKSideDrawerView
- (instancetype __nonnull)initWithFrame:(CGRect)frame mainView:(UIView *__nonnull)mainView
Parameters
- frame
Frame of the TKSideDrawerView.
- mainView
The main content.
Return Value
TKSideDrawerView instance.
Declared In
TKSideDrawerView.h
removeAllSideDrawers
Remove all TKSideDrawers from TKSideDrawerView.
- (void)removeAllSideDrawers
Declared In
TKSideDrawerView.h
removeSideDrawer:
Remove TKSideDrawer from TKSideDrawerView.
- (void)removeSideDrawer:(TKSideDrawer *__nonnull)sideDrawer
Parameters
- sideDrawer
The TKSideDrawer to be removed.
Declared In
TKSideDrawerView.h