PBJEffects is a nice collection of cool effects.
No requirements needed.
PBJEffects is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'PBJEffects'
To use PBJAnimations first import the class:
#import "PBJEffects.h"
Then simply add one of the methods to your code:
- Shadow
+(void)addShadowToView:(UIView *)view;
+(void)addShadowToView:(UIView *)view onSuperView:(UIView *)superView;
+(UIView *)addShadowView:(UIView *)viewShadow toView:(UIView *)view onSuperView:(UIView *)superView;
- Fade
+(void)fadeInView:(UIView *)view;
+(void)fadeOutView:(UIView *)view;
- Blur
+(UIView *)addBlurToView:(UIView *)view;
+(UIImage *)addBlurToImage:(UIImage *)image;
- Image Filters
+(UIImage *)convertImageToMonoEffect:(UIImage *)image;
+(UIImage *)convertImageToNoirEffect:(UIImage *)image;
+(UIImage *)image:(UIImage *)image withCIFilter:(NSString *)filterName;
+(UIImage *)convertImageToGrayScale:(UIImage *)image;
+(UIImage *)colorizeImage:(UIImage *)image withColor:(UIColor *)color;
Joseph Razon, [email protected]
PBJEffects is available under the MIT license. See the LICENSE file for more info.