fancyloader 0.1.4

fancyloader 0.1.4

Maintained by Sagaya Abdulhafeez.



FancyLoader

CI Status Version License Platform

An easy way to handle full screen activity indicator.

fancyloader

Easy to use

Get Started

// Show Loader
Loader.shared.show(image:String)

// Hide Loader
Loader.shared.hide()

Controls

Custom Appearance

// 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?)

Example

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

Installation

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

pod 'fancyloader'

Author

sagaya, [email protected]

License

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