πΎ Create loading view with just a single lines of code. β³οΈ
To run the example project, clone the repo, and run pod install
from the Example directory first. π
By using a simple line create loading view. βπ»
ANLoader.showLoading("Loading", disableUI: true)
By choosing 'disableUI' stops user interactions until you hide loading Activity. π
ANLoader.showLoading()
No need to call other extra things it will be manage automatically. ππ»
ANLoader.hide()
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.
- Deployment target of your App is >= iOS 10.2
- Xcode 10+
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'
dependencies: [
.package(url: "https://github.com/ANSCoder/ANLoader.git", from: "2.0.0")
]
Manually drag and drop ANLoader.swift
single file inside your project.
anscoder (Anand)
ANLoader is available under the MIT license. See the LICENSE file for more info.