PBJAnimations is a nice collection of cool animations & transitions.
No requirements needed.
PBJAnimations is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'PBJAnimations'
To use PBJAnimations first import the class:
#import "PBJAnimations.h"
Then simply add one of the methods to your code:
- Text Transitions
+(void)animateTextFromLeftToRightWithLeftLabel:(UILabel *)leftLabel andWithRightLabel:(UILabel *)rightLabel onSuperView:(UIView *)viewSuper;
+(void)animateTextFromRightToLeftWithLeftLabel:(UILabel *)leftLabel andWithRightLabel:(UILabel *)rightLabel onSuperView:(UIView *)viewSuper;
+(void)animateTextFromRightToLeftOnFirstPageWithLeftLabel:(UILabel *)leftLabel onSuperView:(UIView *)viewSuper;
- Image Transitions
+(void)animateFadeImageView:(UIImageView *)imageView toImage:(UIImage *)image;
- View Transitions
+(void)animateFadeInView:(UIView *)view withDuration:(NSTimeInterval)duration;
+(void)animateFadeOutView:(UIView *)view withDuration:(NSTimeInterval)duration;
+(void)animateFrameOfView:(UIView *)view toFrame:(CGRect)frame withDuration:(NSTimeInterval)duration;
Joseph Razon, razonjoe@gmail.com
PBJAnimations is available under the MIT license. See the LICENSE file for more info.