Index

RBToolbarContainerView.h

Protocols

Classes


RBToolbarContainerView

Provides toolbar management for a content view.

Properties

The RBAnimator object to use when animating.
public animator RBAnimator? { get set }

A delegate to receive events.
public weak delegate RBToolbarContainerViewDelegate? { get set }

The content view.
public view UIView { get set }

The state of the top bar.
public topBarViewState RBToolbarContainerBarState { get set }

The top bar view.
public topBarView UIView? { get set }

Whether or not the content view's content insets should be updated when the top bar opens and closes.
public topBarShouldAdjustContentInsets Bool { get set }

Whether or not the top bar is currently open.
public topBarViewIsOpen Bool { get }

The state of the bottom bar.
public bottomBarViewState RBToolbarContainerBarState { get set }

The bottom bar view.
public bottomBarView UIView? { get set }

Whether or not the content view's content insets should be updated when the bottom bar opens and closes.
public bottomBarShouldAdjustContentInsets Bool { get set }

Whether or not the bottom bar is currently open.
public bottomBarViewIsOpen Bool { get }

The state of the left bar.
public leftBarViewState RBToolbarContainerBarState { get set }

The left bar view.
public leftBarView UIView? { get set }

Whether or not the content view's content insets should be updated when the left bar opens and closes.
public leftBarShouldAdjustContentInsets Bool { get set }

Whether or not the left bar is currently open.
public leftBarViewIsOpen Bool { get }

The state of the right bar.
public rightBarViewState RBToolbarContainerBarState { get set }

The right bar view.
public rightBarView UIView? { get set }

Whether or not the content view's content insets should be updated when the right bar opens and closes.
public rightBarShouldAdjustContentInsets Bool { get set }

Whether or not the right bar is currently open.
public rightBarViewIsOpen Bool { get }

Functions

Sets the RBScrollView object to track, providing automatic opening and closing of floating bars. Keeps a weak reference.
@param trackerScrollView : The scroll view to track.
- (void)setScrollViewForTracking:(nonnull RBScrollView *)trackerScrollView;

Opens the top bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)openTopBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Closes the top bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)closeTopBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Opens the bottom bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)openBottomBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Closes the bottom bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)closeBottomBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Opens the left bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)openLeftBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Closes the left bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)closeLeftBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Opens the right bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)openRightBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;

Closes the right bar.
@param animated : Whether or not the operation should be animated.
@param completion : An optional block to be called when the operation is complete.
- (void)closeRightBarWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion;