ANLoader 1.1.2

ANLoader 1.1.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2018
SPMSupports SPM

Maintained by Anand.



ANLoader 1.1.2

ANLoader

👾 Create loading view with just a single lines of code. ⛳️

CI Status Version License Platform Swift 3 compatible

Example

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

🛠 How to start loading

By using a simple line create loading view. ☝🏻

ANLoader.showLoading("Loading", disableUI: true)

By choosing 'disableUI' stops user interactions until you hide loading Activity. 🙌

⚡️ Use directly without disable UI

ANLoader.showLoading()

🖐🏻 How to dismiss loading

No need to call other extra things it will be manage automatically. 👏🏻

ANLoader.hide()

📝 Custom Settings

Easy to make changes by choosing options 🔧

ANLoader.pulseAnimation = true //It will animate your Loading
ANLoader.activityColor = .darkGray
ANLoader.activityBackgroundColor = .clear
ANLoader.activityTextColor = .clear

Note : - Please keep in mind activityColor and activityBackgroundColor should be different.Otherwise you can manage by your self. Add custom settings in the AppDelegate class.

🤔 Requirements

  • Deployment target of your App is >= iOS 9.0
  • Xcode 8+

💻 Installation

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

pod 'ANLoader', :git => 'https://github.com/ANSCoder/ANLoader.git'

or

Manually drag and drop ANLoader.swift single file inside your project.

👤 Author

anscoder (Anand)

📄 License

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