LeoMaskAnimationKit 1.0.1

LeoMaskAnimationKit 1.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2016

Maintained by LeoMobileDeveloper.



  • By
  • leoMobileDeveloper

Gif

With the methods,you can easy create a tableview cell like this

Requirements

  • ARC

Installation

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

pod "LeoMaskAnimationKit"

How to use

Should in same coordinate when using mask

Circle view mask

-(void)leo_animateCircleMaskWithduration:(NSTimeInterval)duration
                                   delay:(NSTimeInterval)delay
                               clockwise:(BOOL)clockwise
                                 options:(LeoMaskAnimationOptions)options
                             compeletion:(void(^)(void))completion;

Mask a view from any direction

-(void)leo_animateRectExpandDirection:(LeoMaskAnimationDirections)directions
                             duration:(NSTimeInterval)duration
                                delay:(NSTimeInterval)delay
                              options:(LeoMaskAnimationOptions)options
                          compeletion:(void(^)(void))completion;

Mask between rects

-(void)leo_animateMaskFromRect:(CGRect)fromRect
                    toRect:(CGRect)toRect
                  duration:(NSTimeInterval)duration
                     delay:(NSTimeInterval)delay
                       options:(LeoMaskAnimationOptions)options
                   compeletion:(void(^)(void))completion;

Mask between path


-(void)leo_animateMaskFromPath:(UIBezierPath *)fromPath
                    toPath:(UIBezierPath *)toPath
                  duration:(NSTimeInterval)duration
                     delay:(NSTimeInterval)delay
                       options:(LeoMaskAnimationOptions)options
                   compeletion:(void(^)(void))completion;

Author

leoMobileDeveloper, [email protected]

License

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