Skip to content

SnugJoker/PBJAnimations

Repository files navigation

PBJAnimations

CI Status Version License Platform Languages BCH compliance CocoaPods Donate

Description

PBJAnimations is a nice collection of cool animations & transitions.

Example

Screenshot

Requirements

No requirements needed.

Installation

PBJAnimations is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'PBJAnimations'

How To Use

To use PBJAnimations first import the class:

#import "PBJAnimations.h"

Then simply add one of the methods to your code:

Objective C

  • 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;

Author

Joseph Razon, razonjoe@gmail.com

License

PBJAnimations is available under the MIT license. See the LICENSE file for more info.

About

PBJAnimations is a nice collection of cool animations & transitions.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published