Latest 1.1.1
Homepage https://github.com/kingpowerclick/LottieProgressHUD
License MIT
Platforms ios 10.0
Dependencies lottie-ios
Authors

pod Carthage compatible

ProgressHUD using Lottie from Airbnb

Installation

CocoaPods

pod 'LottieProgressHUD'

Carthage

github "kingpowerclick/LottieProgressHUD"

Usage

Quick Start

import Lottie
import LottieProgressHUD

class AppDelegate: UIResponder, UIApplicationDelegate
{
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
    {
        if let progressAnimation = Animation.named("progress-animation.json")
        {
            ProgressHUD.register(animation: progressAnimation)
        }
        else
        {
            fatalError("Unable to find the animation file")
        }

        return true
    }
}

class ViewController: UIViewController
{
    private func buttonDidTap()
    {
        ProgressHUD.show()

        someAsyncOps(
            completion: {
                ProgressHUD.dismiss() })
    }
}

for more information about Lottie click here

Latest podspec

{
    "name": "LottieProgressHUD",
    "version": "1.1.1",
    "summary": "ProgressHUD using Lottie from Airbnb",
    "homepage": "https://github.com/kingpowerclick/LottieProgressHUD",
    "license": {
        "type": "MIT",
        "file": "License.md"
    },
    "authors": {
        "Wipoo Shinsirikul": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "swift_version": "5.0",
    "source": {
        "git": "https://github.com/kingpowerclick/LottieProgressHUD.git",
        "tag": "1.1.1"
    },
    "source_files": "LottieProgressHUD/**/*.{swift}",
    "dependencies": {
        "lottie-ios": []
    }
}

Pin It on Pinterest

Share This