Added lots of self-> to avoid an Xcode warning: “Block implicitly retains ‘self’; explicitly mention ‘self’ to indicate this is intended behaviour”.
Remarked out the -splitViewController:shouldHideViewController:inOrientation: method as it’s now deprecated.
The -live method of SCTableViewModel was causing an assert in iOS 13: “Attempted to access the table view’s visibleCells while they were in the process of being updated, which is not allowed”. So STV is no longer trying to count the visibleCells there, which might make it slightly less efficient, but there’s no assert!
The -cellAtIndexPath: method of SCTableViewModel was also causing an assert in iOS 13: “Attempted to call -cellForRowAtIndexPath: on the table view while it was in the process of updating its visible cells, which is not allowed”. This was introduced by the change in -live. So STV is no longer calling -cellForRowAtIndexPath here, which again is going to make it less efficient, but now there’s no assert.
The -tableView:shouldIndentWhileEditingRowAtIndexPath: method of SCTableViewModel was also causing an assert in iOS 13: “Attempted to call -cellForRowAtIndexPath: on the table view while it was in the process of updating its visible cells, which is not allowed.” A bit of a kludge, but the method now just returns the default value, YES, here.