Latest 1.0.1
Homepage https://github.com/leoMobileDeveloper/LeoMaskAnimationKit
License MIT
Platforms ios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

Gif

LeoMaskAnimationKitLeoMaskAnimationKitLeoMaskAnimationKitLeoMaskAnimationKit

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

LeoMaskAnimationKit

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

Gradient mask

- (void)leo_animateGradienDuration:(NSTimeInterval)duration
                             delay:(NSTimeInterval)delay
                           options:(LeoMaskAnimationOptions)options
                       compeletion:(void(^)(void))completion;

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.

Latest podspec

{
    "name": "LeoMaskAnimationKit",
    "version": "1.0.1",
    "summary": "LeoMaskAnimationKit is a collection of method to help you create mask animation in iOS",
    "description": "LeoMaskAnimationKit is a collection of method to help you create mask animation in iOS,it is easy to use",
    "homepage": "https://github.com/leoMobileDeveloper/LeoMaskAnimationKit",
    "license": "MIT",
    "authors": {
        "leoMobileDeveloper": "[email protected]"
    },
    "source": {
        "git": "https://github.com/leoMobileDeveloper/LeoMaskAnimationKit.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "LeoMaskAnimationKit": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This