Question:How to override func configure(row row: Row) in protocol CellType
Closed this issue · 3 comments
flexih commented
Question:How to override func configure(row row: Row) in protocol CellType
flexih commented
eliperkins commented
The goal is not to override configure(_:)
, actually, but rather to have your class implement it. You can see an example of implementing configure(_:)
here: https://github.com/venmo/Static/blob/0b89f36f33fdd4ae0593830a01e69f5452d9cba3/Example/CustomTableViewCell.swift
flexih commented
Found the reason, if SomeCellClass inherits Value1Cell, it's impossible to "override" configure(:) in CellType. @eliperkins