An easy way to handle full screen activity indicator.
Easy to use
// Show Loader
Loader.shared.show(image:String)
// Hide Loader
Loader.shared.hide()
// You can modify the background color of the view by calling the initializer
Loader.shared.show(color:UIColor)
// To set the default image
//Call this in your AppDelegate file inside the didFinishLaunchingWithOptions function
Loader.shared.setImage(Image: "Ball")
// and the default background alpha is 0.7, you can of cos change this or set 1 so you can set custome color alpha
Loader.shared.show(backgroundAlpha:Double)
Loader.shared.showLoader(image:String?, color:UIColor?, backgroundAlpha:Double?)
To run the example project, clone the repo, and run pod install
from the Example directory first.
fancyloader is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'fancyloader'
sagaya, shaggy.hafeez@gmail.com
fancyloader is available under the MIT license. See the LICENSE file for more info.