RBLayoutAnimator Class Reference

Inherits from NSObject
Conforms to RBThemeTrackerDelegate
Declared in RBLayoutAnimator.h

Overview

A base animator class that provides animations on cells as they appear and disappear.

  theme

The theming tracker object for the view.

@property (nonatomic, readonly, nonnull) RBThemeTracker *theme

Discussion

The theming tracker object for the view.

Declared In

RBLayoutAnimator.h

  animator

The RBAnimator object used to control transition animations.

@property (nonatomic, readonly, nonnull) RBAnimator *animator

Discussion

The RBAnimator object used to control transition animations.

Declared In

RBLayoutAnimator.h

  animatePositiveDirection

Whether or not the cells animate when scrolling in the positive direction (down or right).

@property (nonatomic) BOOL animatePositiveDirection

Discussion

Whether or not the cells animate when scrolling in the positive direction (down or right).

Declared In

RBLayoutAnimator.h

  animateNegativeDirection

Whether or not the cells animate when scrolling in the negative direction (up or left).

@property (nonatomic) BOOL animateNegativeDirection

Discussion

Whether or not the cells animate when scrolling in the negative direction (up or left).

Declared In

RBLayoutAnimator.h

– animateAppearedCell:positiveDirection:completion:

Animate a cell that is appearing.

- (void)animateAppearedCell:(nonnull UIView *)cell positiveDirection:(BOOL)positiveDirection completion:(nullable dispatch_block_t)completion

Parameters

cell

The cell that is appearing.

positiveDirection

Whether or not scrolling is in the positive direction.

completion

The completion block to be called when the animation is complete.

Discussion

Animate a cell that is appearing.

Declared In

RBLayoutAnimator.h

– animateDisappearedCell:positiveDirection:completion:

Animate a cell that is disappearing.

- (void)animateDisappearedCell:(nonnull UIView *)cell positiveDirection:(BOOL)positiveDirection completion:(nullable dispatch_block_t)completion

Parameters

cell

The cell that is disappearing.

positiveDirection

Whether or not scrolling is in the negative direction.

completion

The completion block to be called when the animation is complete.

Discussion

Animate a cell that is disappearing.

Declared In

RBLayoutAnimator.h

– performAnimateAppearedCell:positiveDirection:completion:

Perform a cell appearance animation.

- (void)performAnimateAppearedCell:(nonnull UIView *)cell positiveDirection:(BOOL)positiveDirection completion:(nullable dispatch_block_t)completion

Parameters

cell

The cell that is appearing.

positiveDirection

Whether or not scrolling is in the positive direction.

completion

The completion block to be called when the animation is complete.

Discussion

Perform a cell appearance animation.

Declared In

RBLayoutAnimator.h

– performAnimateDisappearedCell:positiveDirection:completion:

Perform a cell disappearance animation.

- (void)performAnimateDisappearedCell:(nonnull UIView *)cell positiveDirection:(BOOL)positiveDirection completion:(nullable dispatch_block_t)completion

Parameters

cell

The cell that is disappearing.

positiveDirection

Whether or not scrolling is in the positive direction.

completion

The completion block to be called when the animation is complete.

Discussion

Perform a cell disappearance animation.

Declared In

RBLayoutAnimator.h