ReactiveLists
ReactiveLists copied to clipboard
Support all delegate methods in cell models?
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
bumping this out of 0.1.2 for now