TableView
public class TableView : UITableView
extension TableView: UITableViewDataSource, UITableViewDelegate
Undocumented
-
Undocumented
Declaration
Swift
public var data: [[CellDisplayable]]
-
Undocumented
Declaration
Swift
public init( initalData: [[CellDisplayable]] = [[CellDisplayable]](), style: UITableView.Style = .plain )
-
Undocumented
Declaration
Swift
@discardableResult func update( shouldReloadData: Bool = false, _ closure: ([[CellDisplayable]]) -> [[CellDisplayable]] ) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func append( shouldReloadData: Bool = false, _ closure: () -> [[CellDisplayable]] ) -> Self
-
Undocumented
Declaration
Swift
public func numberOfSections(in tableView: UITableView) -> Int
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, indentationLevelForRowAt indexPath: IndexPath) -> Int
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView?
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, canMoveRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, canFocusRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, shouldHighlightRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, shouldIndentWhileEditingRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, shouldShowMenuForRowAt indexPath: IndexPath) -> Bool
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, editingStyleForRowAt indexPath: IndexPath) -> UITableViewCell.EditingStyle
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, titleForDeleteConfirmationButtonForRowAt indexPath: IndexPath) -> String?
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]?
-
Undocumented
Declaration
Swift
public func tableView( _ tableView: UITableView, commit editingStyle: UITableViewCell.EditingStyle, forRowAt indexPath: IndexPath )
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, didDeselectRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, willBeginEditingRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, didEndEditingRowAt indexPath: IndexPath?)
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, didHighlightRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, didUnhighlightRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func tableView( _ tableView: UITableView, moveRowAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath )
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, leadingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration?
-
Undocumented
Declaration
Swift
public func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration?
-
Undocumented
Declaration
Swift
@discardableResult func set(dataSource: UITableViewDataSource) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func set(delegate: UITableViewDelegate) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func register(cells: [TableViewCell.Type]) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func headerView(_ handler: @escaping TableHeaderFooterViewHandler) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func footerView(_ handler: @escaping TableHeaderFooterViewHandler) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func headerHeight(_ handler: @escaping (Int) -> CGFloat) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func footerHeight(_ handler: @escaping (Int) -> CGFloat) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func indentationLevelForRowAtIndexPath(_ handler: @escaping (IndexPath) -> Int) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func canEditRowAtIndexPath(_ handler: @escaping (IndexPath) -> Bool) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func canMoveRowAtIndexPath(_ handler: @escaping (IndexPath) -> Bool) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func canFocusRowAtIndexPath(_ handler: @escaping (IndexPath) -> Bool) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func shouldHighlightRow(_ handler: @escaping TableHighlightIndexPathHandler) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func shouldIndentWhileEditingRowAtIndexPath(_ handler: @escaping (IndexPath) -> Bool) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func shouldShowMenuForRowAtIndexPath(_ handler: @escaping (IndexPath) -> Bool) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func editingStyleForRowAtIndexPath(_ handler: @escaping (IndexPath) -> UITableViewCell.EditingStyle) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func titleForDeleteConfirmationButtonForRowAtIndexPath(_ handler: @escaping (IndexPath) -> String) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func editActionsForRowAtIndexPath(_ handler: @escaping (IndexPath) -> [UITableViewRowAction]) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func commitEditingStyleForRowAtIndexPath(_ handler: @escaping (UITableViewCell.EditingStyle, IndexPath) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func didSelectRow(_ handler: @escaping TableDidSelectIndexPathHandler) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func didDeselectRowAtIndexPath(_ handler: @escaping (IndexPath) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func willBeginEditingRowAtIndexPath(_ handler: @escaping (IndexPath) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func didEndEditingRowAtIndexPath(_ handler: @escaping (IndexPath?) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func didHighlightRowAtIndexPath(_ handler: @escaping (IndexPath) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func didUnhighlightRowAtIndexPath(_ handler: @escaping (IndexPath) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func moveRowAtSourceIndexPathToDestinationIndexPath(_ handler: @escaping (IndexPath, IndexPath) -> Void) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func leadingSwipeActionsConfigurationForRowAtIndexPath(_ handler: @escaping (IndexPath) -> UISwipeActionsConfiguration) -> Self
-
Undocumented
Declaration
Swift
@discardableResult func trailingSwipeActionsConfigurationForRowAtIndexPath(_ handler: @escaping (IndexPath) -> UISwipeActionsConfiguration) -> Self