blob: d0dd43aec1b60fd79d957905f10c8dc408428c0a [file] [log] [blame]
{
"name": "GiFHUD-Swift",
"version": "0.3",
"summary": "Progress hud for displaying only animated gif images implemented with swift",
"description": "GiFHUD-Swift\n============\n\nprogress hud with ability to display gif images implemented with swift\n\nDemo\n----\n\n![alt tag](https://raw.githubusercontent.com/cemolcay/GiFHUD/master/demo.gif)\n\nUsage\n-----\n\nCopy & paste the GiFHUD.swift to your project. <br>\nAdd your gif file or image sequance files to your project. <br>\n\n //Setup GiFHUD image\n GiFHUD.setGif(\"pika.gif\")\n GiFHUD.show()\n\nThats it ! <br>\n\nJust use `GiFHUD.show()` or `GiFHUD.showWithOverlay()` for showing the hud. <br>\n`GiFHUD.dismiss()` for dismissing the hud.\n\n class func setGif (name: String)\n class func setGif (bundle: NSBundle)\n class func SetGif (images: Array<UIImage>)\n\nYou can set your gif with giving its `String` name, `NSBundle` url or `Array` of `UIImage`s.\n\nOptional values\n---------------\n\n let Size : CGFloat = 150\n let FadeDuration : NSTimeInterval = 0.3\n let GifSpeed : CGFloat = 0.3\n let OverlayAlpha : CGFloat = 0.3\n\nIf you want to customise the looking just edit these values\n\n\nCredits\n=======\n\nThe animated gif to UIImage swift library i used: <br>\nhttps://github.com/kaishin/gifu",
"homepage": "https://github.com/cemolcay/GiFHUD-Swift",
"license": "MIT",
"authors": {
"Cem Olcay": "ccemolcay@gmail.com"
},
"platforms": {
"ios": "8.0"
},
"source": {
"git": "https://github.com/cemolcay/GiFHUD-Swift.git",
"tag": "0.3"
},
"source_files": "GiFHUD-Swift/GiFHUD.swift",
"requires_arc": true
}