CoveringIndicator
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS 11.0 or later
- Swift 5 or later
- Xcode 10.2 or later
Installation
CoveringIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CoveringIndicator'
Usage
Firstly, import CoveringIndicator
.
import CoveringIndicator
Let your UIViewController conforming with the CoveringIndicatorShowable
protocol.
class ViewController: UIViewController, CoveringIndicatorShowable {
...
}
Show indicator covering the screen.
showCoveringIndicator()
showCoveringIndicator(alpha: 0.5) // Set background alpha color (default: 0.75)
Hide indicator covering the screen.
hideCoveringIndicator()
Author
Akira Shimizu / asmz
License
CoveringIndicator is available under the MIT license. See the LICENSE file for more info.