ARActivityIndicator
Requirements
- iOS 9.0
 - Xcode 11.2
 - Swift 5
 
Installation
ARActivityIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ARActivityIndicator'Then, run the following command:
pod installUsage
Import
import ARActivityIndicatorShow ARActivityIndicator
To show Activity Indicator call as following:
ARActivityIndicator.shared.showActivityIndicator()Presentation animation can be added or removed and you can also add delay as following:
ARActivityIndicator.shared.showActivityIndicator(withAnimation: true, withDelay: 3)by default withAnimation is true and delay is 0
Hide ARActivityIndicator
To hide Activity Indicator call as following:
ARActivityIndicator.shared.hideActivityIndicator()Dismiss animation can be added or removed and you can also add delay as following:
ARActivityIndicator.shared.hideActivityIndicator(withAnimation: true, withDelay: 3)by default withAnimation is true and delay is 0
Hide all ARActivityIndicator
If you want to remove all ARActivityIndicator call as following:
ARActivityIndicator.shared.removeAllActivityIndicator()This will remove all ARActivityIndicator at once.
Author
AbdulRehman Warraich, [email protected]
License
ARAlertViewController is released under the MIT license. See LICENSE for details.
