FUIEditableTableViewDiffableDataSource

open class FUIEditableTableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> : UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> where SectionIdentifierType : Hashable, ItemIdentifierType : Hashable

UITableViewDiffableDataSource subclass to support editing for the cells in table view.

  • Undocumented

    Declaration

    Swift

    open weak var editingDataSource: UITableViewDataSource?
  • Undocumented

    Declaration

    Swift

    convenience public init(tableView: UITableView, editingDataSource: UITableViewDataSource? = nil, cellProvider: @escaping UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType>.CellProvider)
  • Undocumented

    Declaration

    Swift

    open override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool
  • Undocumented

    Declaration

    Swift

    open override func tableView(_ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath)