Xcode 4 NSURL Error

94 Views Asked by At

I get this error then doing this? My goal its to fetch an image from the firebase and view it in my tableview.

enter image description here

1

There are 1 best solutions below

2
Surya On

You should use URL(string: profileImageUrl) instead of NSURL(string: profileImageUrl) because URLSession expecting URL not NSURL.