From 93d259cbdef3ab7730a9caabbe99143eacc9dc70 Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Fri, 27 Jan 2017 21:32:08 +0200 Subject: [PATCH] Updated Swift example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 39e8b600..e6214543 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ Objective-C: ```swift Swift: +@import SDWebImage + imageView.sd_setImage(with: URL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage: UIImage(named: "placeholder.png")) ```