RBToolbarContainerView Class Reference
Inherits from | UIView |
---|---|
Declared in | RBToolbarContainerView.h |
animator
The RBAnimator
object to use when animating.
@property (nonatomic, nullable) RBAnimator *animator
Discussion
The RBAnimator
object to use when animating.
Declared In
RBToolbarContainerView.h
delegate
A delegate to receive events.
@property (nonatomic, weak, nullable) id<RBToolbarContainerViewDelegate> delegate
Discussion
A delegate to receive events.
Declared In
RBToolbarContainerView.h
view
The content view.
@property (nonatomic, nonnull) UIView *view
Discussion
The content view.
Declared In
RBToolbarContainerView.h
– setScrollViewForTracking:
Sets the RBScrollView
object to track, providing automatic opening and closing
of floating bars. Keeps a weak reference.
- (void)setScrollViewForTracking:(nonnull RBScrollView *)trackerScrollView
Parameters
trackerScrollView |
The scroll view to track. |
---|
Discussion
Sets the RBScrollView
object to track, providing automatic opening and closing
of floating bars. Keeps a weak reference.
Declared In
RBToolbarContainerView.h
topBarViewState
The state of the top bar.
@property (nonatomic) RBToolbarContainerBarState topBarViewState
Discussion
The state of the top bar.
Declared In
RBToolbarContainerView.h
topBarShouldAdjustContentInsets
Whether or not the content view’s content insets should be updated when the top bar opens and closes.
@property (nonatomic) BOOL topBarShouldAdjustContentInsets
Discussion
Whether or not the content view’s content insets should be updated when the top bar opens and closes.
Declared In
RBToolbarContainerView.h
topBarViewIsOpen
Whether or not the top bar is currently open.
@property (nonatomic, readonly) BOOL topBarViewIsOpen
Discussion
Whether or not the top bar is currently open.
Declared In
RBToolbarContainerView.h
– openTopBarWithAnimation:completion:
Opens the top bar.
- (void)openTopBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Opens the top bar.
Declared In
RBToolbarContainerView.h
– closeTopBarWithAnimation:completion:
Closes the top bar.
- (void)closeTopBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Closes the top bar.
Declared In
RBToolbarContainerView.h
bottomBarViewState
The state of the bottom bar.
@property (nonatomic) RBToolbarContainerBarState bottomBarViewState
Discussion
The state of the bottom bar.
Declared In
RBToolbarContainerView.h
bottomBarShouldAdjustContentInsets
Whether or not the content view’s content insets should be updated when the bottom bar opens and closes.
@property (nonatomic) BOOL bottomBarShouldAdjustContentInsets
Discussion
Whether or not the content view’s content insets should be updated when the bottom bar opens and closes.
Declared In
RBToolbarContainerView.h
bottomBarViewIsOpen
Whether or not the bottom bar is currently open.
@property (nonatomic, readonly) BOOL bottomBarViewIsOpen
Discussion
Whether or not the bottom bar is currently open.
Declared In
RBToolbarContainerView.h
– openBottomBarWithAnimation:completion:
Opens the bottom bar.
- (void)openBottomBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Opens the bottom bar.
Declared In
RBToolbarContainerView.h
– closeBottomBarWithAnimation:completion:
Closes the bottom bar.
- (void)closeBottomBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Closes the bottom bar.
Declared In
RBToolbarContainerView.h
leftBarViewState
The state of the left bar.
@property (nonatomic) RBToolbarContainerBarState leftBarViewState
Discussion
The state of the left bar.
Declared In
RBToolbarContainerView.h
leftBarShouldAdjustContentInsets
Whether or not the content view’s content insets should be updated when the left bar opens and closes.
@property (nonatomic) BOOL leftBarShouldAdjustContentInsets
Discussion
Whether or not the content view’s content insets should be updated when the left bar opens and closes.
Declared In
RBToolbarContainerView.h
leftBarViewIsOpen
Whether or not the left bar is currently open.
@property (nonatomic, readonly) BOOL leftBarViewIsOpen
Discussion
Whether or not the left bar is currently open.
Declared In
RBToolbarContainerView.h
– openLeftBarWithAnimation:completion:
Opens the left bar.
- (void)openLeftBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Opens the left bar.
Declared In
RBToolbarContainerView.h
– closeLeftBarWithAnimation:completion:
Closes the left bar.
- (void)closeLeftBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Closes the left bar.
Declared In
RBToolbarContainerView.h
rightBarViewState
The state of the right bar.
@property (nonatomic) RBToolbarContainerBarState rightBarViewState
Discussion
The state of the right bar.
Declared In
RBToolbarContainerView.h
rightBarShouldAdjustContentInsets
Whether or not the content view’s content insets should be updated when the right bar opens and closes.
@property (nonatomic) BOOL rightBarShouldAdjustContentInsets
Discussion
Whether or not the content view’s content insets should be updated when the right bar opens and closes.
Declared In
RBToolbarContainerView.h
rightBarViewIsOpen
Whether or not the right bar is currently open.
@property (nonatomic, readonly) BOOL rightBarViewIsOpen
Discussion
Whether or not the right bar is currently open.
Declared In
RBToolbarContainerView.h
– openRightBarWithAnimation:completion:
Opens the right bar.
- (void)openRightBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Opens the right bar.
Declared In
RBToolbarContainerView.h
– closeRightBarWithAnimation:completion:
Closes the right bar.
- (void)closeRightBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the operation should be animated. |
---|---|
completion |
An optional block to be called when the operation is complete. |
Discussion
Closes the right bar.
Declared In
RBToolbarContainerView.h