KVLoading
is a loading screen and you can customize. Really simple to use, just add the class and write few line of code.
Default | Custom |
---|---|
- iOS 8.0+
- Swift 3.0
KVLoading is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'KVLoading', '~> 1.6'
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)
Vu Van Khac, khacvv0451@gmail.com
My Facebook: https://www.facebook.com/vuvankhac.official
My Twitter: https://twitter.com/vuvankhac
KVLoading is available under the MIT license. See the LICENSE file for more info.