LMLoading is the best and easy way to show an loading in your view.
- iOS 12.1+
- Swift 5.0+
LMLoading is available through SPM. To install it, follow the steps:
Open Xcode project > File > Add Packages
After that, put the url in the field: https://github.com/thejohnlima/LMLoading.git
LMLoading is available through CocoaPods. To install it, simply add the following line to your Podfile:
# Swift 5.0 or later
pod 'LMLoading'
and run pod install
Import library in your swift file:
import LMLoading
Show LMLoading in your view:
LMLoading.show(loading: .image, target: view)
Hide LMLoading:
LMLoading.hide()
- Diferent kids of animations by default;
- Able to work with custom animations;
- Can hide with animation or not;
- iPad support;
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request. 👨🏻💻
LMLoading is under MIT license. See the LICENSE file for more info.