CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

LMLoading 1.0.5

LMLoading 1.0.5

Maintained by John Lima.



LMLoading 1.0.5

LMLoading


LMLoading is the best and easy way to show an loading in your view.

LMLoading

❗️Requirements

  • iOS 12.1+
  • Swift 5.0+

Installation

Swift Package Manager

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

CocoaPods

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

🎓 How to use

Import library in your swift file:

import LMLoading

Show LMLoading in your view:

LMLoading.show(loading: .image, target: view)

Hide LMLoading:

LMLoading.hide()

📱 Feature

  • Diferent kids of animations by default;
  • Able to work with custom animations;
  • Can hide with animation or not;
  • iPad support;

🙋🏻‍ Communication

  • 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. 👨🏻‍💻

📜 License

LMLoading is under MIT license. See the LICENSE file for more info.