UITableView
extension UITableView: ContentStateMessagingView
-
Register
Declaration
Swift
func register(with cellFactory: CellFactory)
Parameters
cellFactory
Factory
-
dequeueCell
Declaration
Swift
func dequeueCell(to item: Any, from cellFactories: [CellFactory], for indexPath: IndexPath, filter: (Any, [CellFactory]) -> CellFactory? = _cellFactoryFilter, eventHandler: Any?) -> UITableViewCell
Parameters
item
Item
cellFactories
Factories
indexPath
Index path
filter
Filter
eventHandler
Handler
-
Suppress annoying redraw, especially in static tables
Declaration
Swift
func update(layout: () -> Void = {})