WinkLoadingView is a loading indicator inspired by Windows® Hello.
To run the example project, clone the repo, and run pod install
from the Example directory first or run pod try WinkLoadingView
.
WinkLoadingView is available through CocoaPods. To install
it, simply add the following line to your Podfile
:
use_frameworks!
pod 'WinkLoadingView'
Then, run the following command.
$ pod install
Install Carthage if need be.
$ brew update
$ brew install carthage
Add WinkLoadingView
in your Cartfile
.
github "magyarosibotond/WinkLoadingView"
Run carthage
to build the framework and drag the built WinkLoadingView.framework
into your Xcode project.
Copy WinkLoadingView
folder to your project. That's it.
Start animating.
loadingView.startLoading()
Stop animating.
activityIndicatorView.finishLoading()
Note: finishLoading
will only signal the component to stop animating. Once the methods is called, the component will finish the animation then it will trigger the animationCompletionHandler
closure.
WinkLoadingView is available under the MIT license. See the LICENSE file for more info.
Windows is a trademark of the Microsoft group of companies.