Skip to content

sagaya/FancyLoader

Repository files navigation

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, shaggy.hafeez@gmail.com

License

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

About

The easiest way to handle a simple full screen loader in iOS. Written in Swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published