Skip to content

Commit

Permalink
Add basic Carthage installation info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Mar 8, 2016
1 parent 65a5cfb commit 7c01f86
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,21 @@ NYTPhotosViewController *photosViewController = [[NYTPhotosViewController alloc]
## Installation
NYTPhotoViewer is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:
### Carthage
NYTPhotoViewer may be installed via [Carthage](https://github.com/Carthage/Carthage). To install it, simply add the following line to your `Cartfile`:
```
github "NYTimes/NYTPhotoViewer"
```
Then, following the instructions for [integrating Carthage frameworks into your app](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos), link the `NYTPhotoViewer` and `FLAnimatedImage` frameworks into your project.
If you don't want support for animated GIFs, you may instead link against only the `NYTPhotoViewerCore` framework.
### Cocoapods
NYTPhotoViewer is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your `Podfile`:
```
pod 'NYTPhotoViewer', '~> 1.1.0'
Expand Down

0 comments on commit 7c01f86

Please sign in to comment.