みなさま、質問がございます。
下記のObjective-Cのコードでは、画像を表示することができないため、Swiftコードに書き換えたいと考えています。
そのための学習サイトや本をお教え頂ければと思います。
よろしくお願い申し上げます。
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! ListCell if let result = results?[indexPath.row] { if let artworkUrl = result["artworkUrl100"] as? String { cell.artworkImageView.setImageWithURL(NSURL(string: artworkUrl)) } else { cell.artworkImageView.image = nil } cell.trackLabel.text = result["trackName"] as? String cell.artistLabel.text = result["artistName"] as? String } return cell }
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。