I have updated this question as I found another key to this problem. It seems that when I add something to CoreData, the tableview does not reload the data, even though I can pr
maybe try this:
override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) self.tableView.reloadData() }