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 PBJEffects first import the class:
#import "PBJEffects.h"
Then simply add one of the methods to your code:
- Shadow
+(void)addShadowToView:(UIView *)view withShadowType:(ShadowType)shadowType;
+(void)addShadowToView:(UIView *)view onSuperView:(UIView *)superView;
+(UIView *)addShadowView:(UIView *)viewShadow toView:(UIView *)view onSuperView:(UIView *)superView;
- Blur
+(UIView *)addBlurToView:(UIView *)view withStyle:(UIBlurEffectStyle)style;
+(UIImage *)addBlurToImage:(UIImage *)image;
- Image Filters
for image filters please refer to PBJImageFilters .README file. .
Joseph Razon, razonjoe@gmail.com
(Also few parts were inspired by Michael Nachbaur https://github.com/NachoMan)
PBJEffects is available under the MIT license. See the LICENSE file for more info.