Skip to content

Commit

Permalink
Merge pull request SDWebImage#1308 from adrianmacneil/patch-2
Browse files Browse the repository at this point in the history
Add Swift installation tips
  • Loading branch information
mythodeia committed Sep 29, 2015
2 parents 6a28dc7 + 4786e98 commit 996fea9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Expand Up @@ -232,6 +232,12 @@ platform :ios, '6.1'
pod 'SDWebImage', '~>3.7'
```
If you are using Swift, be sure to add `use_frameworks!` and set your target to iOS 8+:
```
platform :ios, '8.0'
use_frameworks!
```
### Installation with Carthage (iOS 8+)
[Carthage](https://github.com/Carthage/Carthage) is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods.
Expand All @@ -246,9 +252,14 @@ github "rs/SDWebImage"
#### Usage
Swift
If you installed using CocoaPods:
```
import SDWebImage
```
import WebImage
If you installed manually:
```
import WebImage
```
Objective-C
Expand Down

0 comments on commit 996fea9

Please sign in to comment.