RBAnimator Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCopying RBThemeTrackerDelegate |
Declared in | RBAnimator.h |
theme
The theme tracker object. Use this to add further theme changes, apply and re-apply themes.
@property (nonatomic, readonly, nonnull) RBThemeTracker *theme
Discussion
The theme tracker object. Use this to add further theme changes, apply and re-apply themes.
Declared In
RBAnimator.h
duration
The duration of the animation in seconds.
@property CGFloat duration
Discussion
The duration of the animation in seconds.
Declared In
RBAnimator.h
delay
The delay before beginning the animation in seconds.
@property CGFloat delay
Discussion
The delay before beginning the animation in seconds.
Declared In
RBAnimator.h
springVelocity
The velocity of the spring animation. 0 = no spring
@property CGFloat springVelocity
Discussion
The velocity of the spring animation. 0 = no spring
Declared In
RBAnimator.h
springDampening
The dampening of the spring animation, determining how quickly the initial force subsides.
@property CGFloat springDampening
Discussion
The dampening of the spring animation, determining how quickly the initial force subsides.
Declared In
RBAnimator.h
curve
The curve of the animation.
@property UIViewAnimationCurve curve
Discussion
The curve of the animation.
Declared In
RBAnimator.h
options
The animation options.
@property UIViewAnimationOptions options
Discussion
The animation options.
Declared In
RBAnimator.h
+ defaultAnimator
Creates an animator configured with the default settings.
+ (nonnull instancetype)defaultAnimator
Return Value
The new animator object.
Discussion
Creates an animator configured with the default settings.
Declared In
RBAnimator.h
+ defaultSpringAnimator
Creates an animator configured with the default spring animation settings.
+ (nonnull instancetype)defaultSpringAnimator
Return Value
The new animator object.
Discussion
Creates an animator configured with the default spring animation settings.
Declared In
RBAnimator.h
+ defaultKeyboardAnimator
Creates an animator configured to mimick the keyboard transition animation.
+ (nonnull instancetype)defaultKeyboardAnimator
Return Value
The new animator object.
Discussion
Creates an animator configured to mimick the keyboard transition animation.
Declared In
RBAnimator.h
– performWithAnimation:changes:completion:
Perform the given changes with an animation.
- (void)performWithAnimation:(BOOL)animated changes:(nonnull void ( ^ ) ( NSArray<__kindofUIView*> *__nullable *__nullable viewsToLayout ))changes completion:(nullable dispatch_block_t)completion
Parameters
animated |
Whether or not the changes should be animated. |
---|---|
changes |
The changes block that will be called to make the UI changes. viewsToLayout should contain the list of the |
completion |
An optional block to be called when the animation has completed. |
Discussion
Perform the given changes with an animation.
Declared In
RBAnimator.h
– performAfterAnimations:
Enqueues a block to be executed after all currently queued animations are complete.
- (void)performAfterAnimations:(nonnull dispatch_block_t)actionBlock
Parameters
actionBlock |
The block to execute. |
---|
Discussion
Enqueues a block to be executed after all currently queued animations are complete.
Declared In
RBAnimator.h