UIImageView-PlayGIF icon indicating copy to clipboard operation
UIImageView-PlayGIF copied to clipboard

How to use in swift

Open James-Chi-Jie opened this issue 8 years ago • 1 comments

how to use in swift

James-Chi-Jie avatar Mar 14 '17 14:03 James-Chi-Jie

  1. Just drag the UIImageView+PlayGIF.h, UIImageView+PlayGIF.m, YFGIFImageView.h, YFGIFImageView.m
  2. create bridging header and #import "UIImageView+PlayGIF.h" #import "YFGIFImageView.h"
  3. Select class for ImageView as YFGIFImageView.

There are few inbuilt functions like startGIF, stopGIF, isGIFPlaying and etc.

anirudhamahale avatar Jun 11 '17 15:06 anirudhamahale