A top most indicator view written in Swift 4.
- Top most: Over UIAlertController and UIAlertView
- Force to hide when time out, allow to disable.
- Custom style.
- Configuration(optional)
var config = LoadingConfig()
config.width = 60
config.radius = 8
config.style = .whiteLarge
config.backgroundColor = UIColor.lightGray
config.color = .red
config.maxUnlockTime = 0
Loading.config(config)
- Show
Loading.show()
- Hide
Loading.hide()