Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)
```
## Installation

UIGifView 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.