Update the README to place the SwiftPM before CocoaPods, where SwiftUI user prefers more
This commit is contained in:
parent
395f0e61f9
commit
43c418de78
34
README.md
34
README.md
|
@ -59,23 +59,6 @@ All issue reports, feature requests, contributions, and GitHub stars are welcome
|
|||
|
||||
## Installation
|
||||
|
||||
#### CocoaPods
|
||||
|
||||
SDWebImageSwiftUI is available through [CocoaPods](https://cocoapods.org). To install
|
||||
it, simply add the following line to your Podfile:
|
||||
|
||||
```ruby
|
||||
pod 'SDWebImageSwiftUI'
|
||||
```
|
||||
|
||||
#### Carthage
|
||||
|
||||
SDWebImageSwiftUI is available through [Carthage](https://github.com/Carthage/Carthage).
|
||||
|
||||
```
|
||||
github "SDWebImage/SDWebImageSwiftUI"
|
||||
```
|
||||
|
||||
#### Swift Package Manager
|
||||
|
||||
SDWebImageSwiftUI is available through [Swift Package Manager](https://swift.org/package-manager/).
|
||||
|
@ -96,6 +79,23 @@ let package = Package(
|
|||
)
|
||||
```
|
||||
|
||||
#### CocoaPods
|
||||
|
||||
SDWebImageSwiftUI is available through [CocoaPods](https://cocoapods.org). To install
|
||||
it, simply add the following line to your Podfile:
|
||||
|
||||
```ruby
|
||||
pod 'SDWebImageSwiftUI'
|
||||
```
|
||||
|
||||
#### Carthage
|
||||
|
||||
SDWebImageSwiftUI is available through [Carthage](https://github.com/Carthage/Carthage).
|
||||
|
||||
```
|
||||
github "SDWebImage/SDWebImageSwiftUI"
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### Using `WebImage` to load network image
|
||||
|
|
Loading…
Reference in New Issue