This is my simple UIImageView
extension:
extension UIImageView {
func setImageWithString(string: String?) {
if let string = string, let url = NSURL(string: string) {
sd_setImageWithURL(url)
}
}
}
And for the following string I cannot get inside condition:
"http://posbistro-prod.s3.amazonaws.com/location_images/images/116/2fa/ad-/medium/Bez tytułu.jpg"
How can I workaround this?