[Solved] Im getting an error at cellForRowAt and im not sure why
cell.textLabel?.text can only show a String object, not other objects. It will be product.item or product.price or product.salesPrice or all in one line. (based on your requirement). Make sure the value of product is not nil. cell.textLabel?.text = “\(product.item) \(product.price) \(product.salesPrice)” The full code you can try this: class ViewController: UIViewController, UIAdaptivePresentationControllerDelegate { @IBOutlet weak … Read more