Skip to content

magyarosibotond/WinkLoadingView

Repository files navigation

WinkLoadingView

Codacy Badge CI Status Version License Platform

Introduction

WinkLoadingView is a loading indicator inspired by Windows® Hello.

Example

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

Demo

avi

Installation

Cocoapods

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

Carthage

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.

Manual

Copy WinkLoadingView folder to your project. That's it.

Usage

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.

License

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

Windows is a trademark of the Microsoft group of companies.