For tables we provide:
var willBeginEditing: WillBeginEditingClosure? { return nil }
var didEndEditing: DidEndEditingClosure? { return nil }
var editingStyle: UITableViewCellEditingStyle { return .none }
var shouldHighlight: Bool { return true }
var commitEditingStyle: CommitEditingStyleClosure? { return nil }
var didSelectClosure: DidSelectClosure? { return nil }
var accessoryButtonTappedClosure: AccessoryButtonTappedClosure? { return nil }
var shouldIndentWhileEditing: Bool { return false }
For collections we provide:
var shouldHighlight: Bool { return true }
var didSelectClosure: DidSelectClosure? { return nil }
var didDeselectClosure: DidDeselectClosure? { return nil }
Obviously, TableViewModel is further along, however, both should include willDisplay..., didEndDisplaying..., etc. hooks
For tables we provide:
For collections we provide:
Obviously,
TableViewModelis further along, however, both should includewillDisplay...,didEndDisplaying..., etc. hooks