DZAObliqueFillAnimatorView 0.2.0

DZAObliqueFillAnimatorView 0.2.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2015

Maintained by Davide Di Stefano.




A custom view that has an oblique transparent cut on the top and it can be filled with an animated circle

A demo of the animation:

(Video available here)

Screenshots:

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

The view supports Interface Builder integration: you just need to drag a UIView and change the class to DZAObliqueFillAnimatorView

From the IB you can change the parameters and colors to match your app style.

From the code you call

[_obliqueView animateOpeningWithDuration:0.5 completion:nil];

or

[_obliqueView animateClosingWithDuration:0.5 completion:nil];

to animate the transition.

Installation

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

pod "DZAObliqueFillAnimatorView"

Author

Davide Di Stefano, [email protected]

License

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