From 7f5dbcf8dd601d4fa22216d16331833e3fdd31ec Mon Sep 17 00:00:00 2001 From: Reda Lemeden Date: Wed, 2 Dec 2015 23:47:47 +0100 Subject: [PATCH] Add Cocoapods install instructions --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a46bef..4354c75 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,20 @@ containing 10 frames, Gifu will load the current frame (red), pre-load the next #### Install +#### [Carthage](https://github.com/Carthage/Carthage) -If you use [Carthage](https://github.com/Carthage/Carthage), add this to your `cartfile`: `github "kaishin/gifu"`. +- Add the following to your Cartfile: `github "kaishin/Gifu"` +- Then run `carthage update` +- Follow the current instructions in [Carthage's README][carthage-installation] +for up to date installation instructions. -If your prefer Git submodules or want to support iOS 7, you want to add the files in `source` to your Xcode project. +[carthage-installation]: https://github.com/Carthage/Carthage#adding-frameworks-to-an-application + +#### [CocoaPods](http://cocoapods.org) + +- Add the following to your [Podfile](http://guides.cocoapods.org/using/the-podfile.html): `pod 'Gifu'` +- You will also need to make sure you're opting into using frameworks: `use_frameworks!` +- Then run `pod install` with CocoaPods 0.36 or newer. #### Usage