Updated README.md with CocoaPods install
Showing
1 changed file
with
14 additions
and
1 deletions
@@ -214,7 +214,20 @@ See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebIma | @@ -214,7 +214,20 @@ See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebIma | ||
214 | Installation | 214 | Installation |
215 | ------------ | 215 | ------------ |
216 | 216 | ||
217 | -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. | 217 | +There are three ways to use SDWebImage in your project: |
218 | +- using Cocoapods | ||
219 | +- copying all the files into your project | ||
220 | +- importing the project as a static library | ||
221 | + | ||
222 | +### Installation with CocoaPods | ||
223 | + | ||
224 | +[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. | ||
225 | + | ||
226 | +#### Podfile | ||
227 | +``` | ||
228 | +platform :ios, '6.1' | ||
229 | +pod 'SDWebImage', '~>3.6' | ||
230 | +``` | ||
218 | 231 | ||
219 | ### Add the SDWebImage project to your project | 232 | ### Add the SDWebImage project to your project |
220 | 233 |
-
Please register or login to post a comment