How can I assign a different UIImage in each UITableViewCell?
问题 I am struggling to figure out how exactly I can display a different image in each UITableViewCell. I currently have a UIImageView in an expanding / collapsing UITableViewCell in my storyboard. I can assign an image to them all by defining the image in the attributes for this UIImageView but that shows the same image in each cell (obviously). This is the code I have for TableViewController: import UIKit let cellID = "cell" class TableViewController: UITableViewController { var