Good day, dear! I try to navigate the application for the site (I also write api myself). Print the data turned out in the tableView, but he was very slow when scrolling. By commenting on pieces of code, I realized that the trouble is uploading images for a direct link. Here's how I did it before:
let imgURL:NSURL = NSURL(string: strImageURL)! let imgData = NSData(contentsOfURL: imgURL)! cell.imageView?.image = UIImage(data: imgData) Pictures were loaded, but the tableView was terribly slow. After searching the Internet I found some tips that I should organize caching of the downloaded images and make asynchronous loading. But I do not quite understand how to do it. Can you throw a couple of clear manuals? (available in English). And if you think this venture is not very good, then advise how to properly load images from the server via a direct link, so as not to slow down the application for ios?