I'm trying to retrieve a user profile photo like this inside the cellForRowAtIndexPath
method:
let profileImage = UIImage(data: NSData(contentsOfURL: NSURL(string:"http://website.com/something/somethingelse-pic/\(self.userArray[indexPath.row]).jpg")!)!)
I'm just wondering if there is a better and faster way to do this because this seem to load pretty slow and laggy.
Any help would be appreciated!!