From d595317583809e0a3bfa2920d665a10b0f597da8 Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Mon, 8 Dec 2014 23:22:46 +0100 Subject: [PATCH] Update install instructions --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 152aa74..4192443 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,15 @@ and nullify all the other frames to free up memory (gray): +#### Install + +If you use [Carthage](https://github.com/Carthage/Carthage), add this to your `cartfile`: `github "kaishin/gifu"`. + +If your prefer Git submodules or want to support iOS 7, you want to add the files in `source` to your Xcode project. + #### Usage -Use git submodules or drag-and-drop the files in your Xcode project. I can't -believe I'm saying this in 2014. - -Once done, you can call `setAnimatableImage(named:)` or +Call `setAnimatableImage(named:)` or `setAnimatableImage(data:)` on your `UIImageView` (or its subclass): ```swift