SurveyDetailCellPresentable

public protocol SurveyDetailCellPresentable

Undocumented

  • The image to set in the imageView of SurveyDetailCollectionViewCell.

    Declaration

    Swift

    var image: UIImage? { get }
  • The question text to set in the questionLabel of SurveyDetailCollectionViewCell.

    Declaration

    Swift

    var questionText: String { get }
  • The description text to set in the descriptionText of SurveyDetailCollectionViewCell.

    Declaration

    Swift

    var descriptionText: String { get }
  • configure(cell:) Default implementation

    Configures the SurveyDetailCollectionViewCell according to the property values of the SurveyDetailCellPresentable protocol.

    Default Implementation

    Declaration

    Swift

    func configure(cell: SurveyDetailCell)

    Parameters

    cell

    The SurveyDetailCollectionViewCell to configure.