From 28b41eddfd8325f505cd7b142d6509eba93e7c69 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Mon, 10 Nov 2014 23:11:43 +0100 Subject: [PATCH] Update README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4758cc0..152aa74 100644 --- a/README.md +++ b/README.md @@ -34,11 +34,13 @@ imageView.setAnimatableImage(named: "computer-kid.gif") // imageView.setAnimatableImage(data: NSData(...)) ``` -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()`. +The image view will not start animating until you call `startAnimatingGIF()` +on it. You can stop the animation anytime using `stopAnimatingGIF()`, and resume +it using `startAnimatingGIF()`. These methods will fallback to UIKit's `startAnimating()` and `stopAnimating()` +if the image view has no animatable image. -The `isAnimating()` method returns the current animation state of the view. +Likewise, the `isAnimatingGIF()` method returns the current animation state of the view if it has an animatable image, +or UIKit's `isAnimating()` otherwise. #### Demo App