Dear Swift Community,
to make it short: I want to create a Table View containing an image and a label in each cell. For the prototype cell I created a prototype class of superclass UITableViewCell.
In my ViewController I have the function
func tableView (_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
How can I include the outlet information from the prototype class into this function of the view controller class?
By entering something like this: cell.mainImageView.image = .... - mainImageView is of course unknown, because it is from the other class.
Lastly: English is not my native language. Hope you will unterstand my issue anyway. Thanks in advance!
Cheers