Updated Swift example
This commit is contained in:
parent
8a9ae3db32
commit
93d259cbde
|
@ -81,6 +81,8 @@ Objective-C:
|
||||||
```swift
|
```swift
|
||||||
Swift:
|
Swift:
|
||||||
|
|
||||||
|
@import SDWebImage
|
||||||
|
|
||||||
imageView.sd_setImage(with: URL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage: UIImage(named: "placeholder.png"))
|
imageView.sd_setImage(with: URL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage: UIImage(named: "placeholder.png"))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue