diff --git a/README.md b/README.md index 06da060..4f60248 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ - + Adds animated GIF support to UIKit. For the Japanese prefecture, click [here](https://goo.gl/maps/CCeAc). #### Why? + Because Apple's `+animatedImage*` sucks, and the few third party implementations that got it right (see [Credits](#credits)) still require you to use a `UIImageView` subclass. @@ -17,8 +18,7 @@ The figure below summarizes how this works in practice. Given an image containing 10 frames, Gifu will load the current frame (red), pre-load the next two frames (orange), and nullify all the other frames to free up memory (gray): - - + #### Usage @@ -36,6 +36,8 @@ imageView.setAnimatableImage(named: "computer-kid.gif") imageView.setAnimatableImage(data: NSData(...)) ``` +You can find a demo app [here](https://github.com/kaishin/gifu-demo). + #### To-do The usual suspects: