VisualItemTableViewCell

open class VisualItemTableViewCell: UITableViewCell

The Base for any TableViewCell that represents a VisualItem.

Subclasses adding subviews should override the following methods:

  • addSubviews(): all the subviews should be added to contentView here.
  • setupConstraints(): constraints between the subviews should be set here.
  • updateUI(): binds data to the UI

The super class methods should be called in all overrides.

Subclasses can override the doSetup() method to initialize properties and implement other initialization behaviour. This method gets called before the addSubviews().