CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2016 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Daron Tancharoen.
Easily show/hide a loading indicator in fullscreen or a specific view.
iOS 8.0+, Swift 3.0
Just call DTLoadingIndicator.startFullScreenLoadingIndicator()
, DTLoadingIndicator.startGiftFullScreenLoadingIndicator()
, DTLoadingIndicator.startLoadingIndicatorInView()
, DTLoadingIndicator.startLoadingIndicatorInView.startGiftLoadingIndicatorInView()
to show loading indicator. Call DTLoadingIndicator.stopXxxxxx()
to hide it.
DTLoadingIndicator.startGiftFullScreenLoadingIndicator()
DTLoadingIndicator.stopFullScreenLoadingIndicator()
or
DTLoadingIndicator.startGiftLoadingIndicatorInView(self.contentView, top: 30)
DTLoadingIndicator.stopLoadingIndicatorInView(self.contentView)
See more detail in the demo project.
Currently, it’s not possible to change animated gif image yet. Please feel free to contribute. You can also just download and replace the gif file with your own.
Daron Tancharoen
DTLoadingIndicator is licensed under the MIT License, please see the LICENSE file.