SSSwiftUIGIFView
SSSwiftUIGIFView is a custom controller which helps to load GIF in SwiftUI.
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.