Skip to content

krzyzanowskim/SwiftUI.AnimatedImage

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

SwiftUI.AnimatedImage

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

Screen.Recording.2021-07-31.at.02.18.33.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()

    }
    
}