Skip to content

rushk2112/KVLoading

 
 

Repository files navigation

Introduction

KVLoading is a loading screen and you can customize. Really simple to use, just add the class and write few line of code.

Example

Default Custom

Requirements

  • iOS 8.0+
  • Swift 3.0

Installation

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

pod 'KVLoading', '~> 1.6'

Usage

Show default loading:

KVLoading.show()

Show default loading without animation:

KVLoading.show(animated: false)

Show custom view loading:

let customView: UIView = UIView()
KVLoading.show(customView)

Show custom view loading without animation:

let customView: UIView = UIView()
KVLoading.show(customView, animated: false)

Hide loading view:

KVLoading.hide()

Hide loading view without animation:

KVLoading.hide(animated: false)

Author

Vu Van Khac, khacvv0451@gmail.com
My Facebook: https://www.facebook.com/vuvankhac.official
My Twitter: https://twitter.com/vuvankhac

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 88.1%
  • Ruby 11.9%