CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| 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:
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.
DZAObliqueFillAnimatorView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "DZAObliqueFillAnimatorView"Davide Di Stefano, [email protected]
DZAObliqueFillAnimatorView is available under the MIT license. See the LICENSE file for more info.