Skip to content

⏳The best and easy way to show an loading in your view

License

Notifications You must be signed in to change notification settings

thejohnlima/LMLoading

Repository files navigation

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.

☕️ Support

Buy Me A Coffee