TLottie 0.3.2

TLottie 0.3.2

the-best-is-best 维护。



TLottie 0.3.2

  • the-best-is-best

TLottie

Version License Platform

示例

要运行示例项目,请克隆该仓库,然后首先从示例目录运行 pod install

import SwiftUI
import TLottie

struct MainView: View {
    var body: some View {
        TLottieView(loopMode: .loop, contentMode: .scaleAspectFit , fileName: "loading" ).frame(width: 160, height: 60, alignment: .center)
    }
}

#Preview {
    MainView()
}

要求

pod lottie-ios

安装

TLottie 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:

pod 'TLottie'

作者

the-best-is-best,[email protected]

许可证

TLottie 可在 MIT 许可证下使用。有关更多信息,请参阅 LICENSE 文件。