RBToolbarContainerView Class Reference

Inherits from UIView
Declared in RBToolbarContainerView.h

Overview

Provides toolbar management for a content view.

  animator

The RBAnimator object to use when animating.

@property (nonatomic, nullable) RBAnimator *animator

Declared In

RBToolbarContainerView.h

  delegate

A delegate to receive events.

@property (nonatomic, weak, nullable) id<RBToolbarContainerViewDelegate> delegate

Declared In

RBToolbarContainerView.h

  view

The content view.

@property (nonatomic, nonnull) UIView *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.

Declared In

RBToolbarContainerView.h

  topBarViewState

The state of the top bar.

@property (nonatomic) RBToolbarContainerBarState topBarViewState

Declared In

RBToolbarContainerView.h

  topBarView

The top bar view.

@property (nonatomic, nullable) UIView *topBarView

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

Declared In

RBToolbarContainerView.h

  topBarViewIsOpen

Whether or not the top bar is currently open.

@property (nonatomic, readonly) BOOL topBarViewIsOpen

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.

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.

Declared In

RBToolbarContainerView.h

  bottomBarViewState

The state of the bottom bar.

@property (nonatomic) RBToolbarContainerBarState bottomBarViewState

Declared In

RBToolbarContainerView.h

  bottomBarView

The bottom bar view.

@property (nonatomic, nullable) UIView *bottomBarView

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

Declared In

RBToolbarContainerView.h

  bottomBarViewIsOpen

Whether or not the bottom bar is currently open.

@property (nonatomic, readonly) BOOL bottomBarViewIsOpen

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.

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.

Declared In

RBToolbarContainerView.h

  leftBarViewState

The state of the left bar.

@property (nonatomic) RBToolbarContainerBarState leftBarViewState

Declared In

RBToolbarContainerView.h

  leftBarView

The left bar view.

@property (nonatomic, nullable) UIView *leftBarView

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

Declared In

RBToolbarContainerView.h

  leftBarViewIsOpen

Whether or not the left bar is currently open.

@property (nonatomic, readonly) BOOL leftBarViewIsOpen

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.

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.

Declared In

RBToolbarContainerView.h

  rightBarViewState

The state of the right bar.

@property (nonatomic) RBToolbarContainerBarState rightBarViewState

Declared In

RBToolbarContainerView.h

  rightBarView

The right bar view.

@property (nonatomic, nullable) UIView *rightBarView

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

Declared In

RBToolbarContainerView.h

  rightBarViewIsOpen

Whether or not the right bar is currently open.

@property (nonatomic, readonly) BOOL rightBarViewIsOpen

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.

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.

Declared In

RBToolbarContainerView.h