Skip to content

kiritmodi2702/GIFIamgeView_Swift

Repository files navigation

#swift referance blog : http://iosdevcenters.blogspot.com/

GIFIamgeView_Swift

You can load GIF image in ImageView.This project added class of 'UIImage+animatedGIF' which is in objective c and this class is used in swift using Bridge. add Two class in your project and use in swift as below code.

  var strImg : String = "http://www.kyst.no/ep_bilder/164/16863-ceabe11810360ac49045863747d2ca85-67b5126fe38caa1839cb3b35b903ef53storvikbanner.gif"
  var url: NSURL = NSURL(string: strImg)!
  ImageGIF.image = UIImage.animatedImageWithAnimatedGIFURL(url)

Swift GIF Image

About

To load GIF image in Swift.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published