kgn / SSSwiftUIGIFView

SSSwiftUIGIFView is a custom controller which helps to load GIF in SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSSwiftUIGIFView

SSSwiftUIGIFView is a custom controller which helps to load GIF in SwiftUI.

Version License Platform

Alt text

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 13.0+
  • Xcode 11+

Installation

SSSwiftUIGIFView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SSSwiftUIGIFView'

Usage example

  • Import framework

      import SSSwiftUIGIFView
    
  • Load GIF with SwiftUIGIFPlayerView function

      SwiftUIGIFPlayerView(gifName: "Gif Name")
    

License

SSSwiftUIGIFView is available under the MIT license. See the LICENSE file for more info.

About

SSSwiftUIGIFView is a custom controller which helps to load GIF in SwiftUI.

License:MIT License


Languages

Language:Swift 89.5%Language:Ruby 10.5%