CellFactoryProtocol
protocol CellFactoryProtocol
CellFactoryProtocol
-
Item
Declaration
Swift
associatedtype Item -
Cell
Declaration
Swift
associatedtype Cell : UITableViewCell -
EventHandler
Declaration
Swift
associatedtype EventHandler -
reuseIdentifierDefault implementationreuse Identifier
Default Implementation
Default reuseIdentifier
Declaration
Swift
static var reuseIdentifier: String { get } -
configure(_:with:for:eventHandler:)Default implementationConfigure
Default Implementation
Default configure
Declaration
Swift
static func configure(_ cell: Cell, with item: Item, for indexPath: IndexPath, eventHandler: EventHandler)Parameters
cellCell
itemItem
indexPathIndex path
eventHandlerEvent handler
-
suitable(for:)Extension methodDefault suitable
Declaration
Swift
static func suitable(for item: Any) -> BoolParameters
itemItem
View on GitHub
CellFactoryProtocol Protocol Reference