目录
目录README.md

SwiftUI.AnimatedImage

SwiftUI animated image view that works on iOS and layout just as SwiftUI.Image

https://user-images.githubusercontent.com/758033/127722908-4d760937-2420-4d78-a9d7-38c5bc6dffe0.mov

Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/krzyzanowskim/SwiftUI.AnimatedImage", from: "1.0")
],

Usage

import AnimatedImage

struct MyView: View {

    var body: some View {
        AnimatedImage(data: imageData)
            .scaledToFit()

    }
    
}
关于
462.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号