parent
14842f65f7
commit
4786e98605
13
README.md
13
README.md
|
@ -232,6 +232,12 @@ platform :ios, '6.1'
|
||||||
pod 'SDWebImage', '~>3.7'
|
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+)
|
### 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.
|
[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.
|
||||||
|
@ -246,9 +252,14 @@ github "rs/SDWebImage"
|
||||||
#### Usage
|
#### Usage
|
||||||
Swift
|
Swift
|
||||||
|
|
||||||
|
If you installed using CocoaPods:
|
||||||
|
```
|
||||||
|
import SDWebImage
|
||||||
|
```
|
||||||
|
|
||||||
|
If you installed manually:
|
||||||
```
|
```
|
||||||
import WebImage
|
import WebImage
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Objective-C
|
Objective-C
|
||||||
|
|
Loading…
Reference in New Issue