Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Drop the setup #10

Closed
Esqarrouth opened this issue Sep 15, 2015 · 4 comments
Closed

Drop the setup #10

Esqarrouth opened this issue Sep 15, 2015 · 4 comments

Comments

@Esqarrouth
Copy link
Contributor

// jeremy.gif
var url = NSBundle.mainBundle().URLForResource("jeremy", withExtension: "gif")
var imageData = NSData(contentsOfURL: url)

// Returns an animated UIImage
UIImage.animatedImageWithData(imageData)

This uses too many lines to setup the gif. It could have been only:

 UIImage.withGifName("jeremy")

I might do this in the future when I have time

@Esqarrouth
Copy link
Contributor Author

i can do this now @bahlo

@bahlo
Copy link
Member

bahlo commented Oct 12, 2015

@goktugyil That would be great! Looking forward to your PR 😏

@Esqarrouth
Copy link
Contributor Author

#14

@bahlo
Copy link
Member

bahlo commented Oct 13, 2015

Merged in 1.5.

@bahlo bahlo closed this as completed Oct 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants