Updated README.md with CocoaPods install

This commit is contained in:
Bogdan Poplauschi 2014-05-28 09:46:40 +03:00
parent fca411224b
commit 7edeef9f1a
1 changed files with 14 additions and 1 deletions

View File

@ -214,7 +214,20 @@ See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebIma
Installation Installation
------------ ------------
There are two ways to use this in your project: copy all the files into your project, or import the project as a static library. There are three ways to use SDWebImage in your project:
- using Cocoapods
- copying all the files into your project
- importing the project as a static library
### Installation with CocoaPods
[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details.
#### Podfile
```
platform :ios, '6.1'
pod 'SDWebImage', '~>3.6'
```
### Add the SDWebImage project to your project ### Add the SDWebImage project to your project