I create a Detail screen using a standard TableViewController. The TableView-Content option is Static Cells, the Table View Sell-Style option is Basic. The label is used by default, not custom. With the help of this line of code below, I try to pass a value to the label:
The value comes to the controller, I see it, but for some reason it is not displayed on the label and displays a nil in the debugger.
What could be the mistake?
Code Block tableView.cellForRow(at: [0,0])?.textLabel?.text = item!.itemID
The value comes to the controller, I see it, but for some reason it is not displayed on the label and displays a nil in the debugger.
What could be the mistake?