Skip to content

tryboxx/GIFImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIFImage

Display GIFs in your SwiftUI project

SwiftUI License Twitter

A lightweight repository for putting GIF files into your project, available as a Swift Package.

Installation

Add this project on your Package.swift

import PackageDescription

let package = Package(
    dependencies: [
        .package(url: "https://github.com/tryboxx/GIFImage.git", .branch("main"))
    ]
)

Usage example

import GIFImage

struct ContentView: View {

    var body: some View {
        GIFImage(gifName: "gif_file_name")
    }
}

Release History

  • 1.0.0
    • Initial release with base GIFImage implementation

Meta

Christopher Lowiec – @chrislowiec

Distributed under the MIT license. See LICENSE for more information.

https://github.com/tryboxx/GIFImage