I have a UITableViewController
with a model property declared in it. When migrating from UITableViewDataSource
protocol conformance to a subclass of UITableViewDiffableDataSource
outside of the table view controller, the model is no longer accessible in the data source.
What would be a recommended approach to sharing a data model between the two, so say a cell deletion delegate callback in the diffable data source can reflect the change in the model property and CloudKit database.