From d1fe7264e54a9576ca9175868a38821899b95f84 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Thu, 11 Sep 2014 23:26:38 +0200 Subject: [PATCH] Update README --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9d916ec..0af5e7a 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,16 @@ Once done, you can call `setAnimatableImage(named:)` or let imageView = UIImageView(...) imageView.setAnimatableImage(named: "computer-kid.gif") -// or -imageView.setAnimatableImage(data: NSData(...)) +// imageView.setAnimatableImage(data: NSData(...)) ``` -You can start/stop the animation using `UIImageView`'s `startAnimating()` and -`stopAnimating()`. +The image view will not start animating until you call `startAnimating()` +on it. You can stop the animation anytime using `stopAnimating()`, and resume +it using `startAnimating()`. -You can find a demo app in this [branch](https://github.com/kaishin/gifu/tree/demo) (requires Xcode 6). +The `isAnimating()` method returns the current animation state of the view. + +For an example, check out the demo app [here](https://github.com/kaishin/gifu/tree/demo) (requires Xcode 6).