DGLoading
A loading view that is shown at center of the current view.
Requirements
- iOS 12.0+
- Swift 5.5+
- Xcode 10.0+
Installation
SPM
File > Add Packages > https://github.com/donggyushin/DGLoading
CocoaPod
pod 'DGLoading', :git => 'https://github.com/donggyushin/DGLoading'
Usage
DGLoading.shared.startLoading()
DGLoading.shared.stopLoading()
// When you want to use custom view instead of default indicator view
let customDGLoading = DGLoading(customView)
customDGLoading.startLoading()
customDGLoading.stopLoading()