Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pikachuxxxx/uigifview
Gif Extension for UIImageView Swift Class
https://github.com/pikachuxxxx/uigifview
apple gif gifs image-to-gif ios ios-library library swift swift4 ui-gif-view uigifview uiimageview xcode
Last synced: 17 days ago
JSON representation
Gif Extension for UIImageView Swift Class
- Host: GitHub
- URL: https://github.com/pikachuxxxx/uigifview
- Owner: Pikachuxxxx
- License: mit
- Created: 2019-03-07T18:07:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-29T16:19:05.000Z (almost 5 years ago)
- Last Synced: 2024-05-01T17:25:11.594Z (6 months ago)
- Topics: apple, gif, gifs, image-to-gif, ios, ios-library, library, swift, swift4, ui-gif-view, uigifview, uiimageview, xcode
- Language: Swift
- Size: 5.63 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UIGifView
[![CI Status](https://img.shields.io/travis/DarkKnight29/UIGifView.svg?style=flat)](https://travis-ci.org/DarkKnight29/UIGifView)
[![Version](https://img.shields.io/cocoapods/v/UIGifView.svg?style=flat)](https://cocoapods.org/pods/UIGifView)
[![License](https://img.shields.io/cocoapods/l/UIGifView.svg?style=flat)](https://cocoapods.org/pods/UIGifView)
[![Platform](https://img.shields.io/cocoapods/p/UIGifView.svg?style=flat)](https://cocoapods.org/pods/UIGifView)## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Demo
![](Demo.gif)
## Usage
just add a UIImage view and use the following methods .You can also the get the duration of the gif.
```ruby
(imageviewname).loadGif(name: String)
(imageviewname).loadGif(asset: String) #load the gif from assets folder also
(imageviewname).Giftime(name: String)
```
## InstallationUIGifView is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'UIGifView'
```## Author
Pikachuxxxx, [email protected]
## License
UIGifView is available under the MIT license. See the LICENSE file for more info.