-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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
asmallteapot