ANSCoder/ANLoader
Create Swift loader in a single line with beautiful animation. ๐ต
ANLoader
๐พ Create loading view with just a single lines of code. โณ๏ธ
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 = .clearNote : - 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 10.2
- Xcode 10+
๐ป 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'Swift Package Manager
dependencies: [
.package(url: "https://github.com/ANSCoder/ANLoader.git", from: "2.0.0")
]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.

