Update README.md

updates swift example to Swift 3.0 syntax
This commit is contained in:
Tiago Martinho 2016-11-30 15:40:28 +01:00 committed by GitHub
parent 032ab1dd6d
commit 113cccc25d
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ Objective-C:
```swift ```swift
Swift: Swift:
imageView.sd_setImageWithURL(NSURL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage:UIImage(imageNamed:"placeholder.png")) imageView.sd_setImage(with: URL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage: UIImage(named: "placeholder.png"))
``` ```
- For details about how to use the library and clear examples, see [The detailed How to use](Docs/HowToUse.md) - For details about how to use the library and clear examples, see [The detailed How to use](Docs/HowToUse.md)