SurveyDetailCellPresentable
public protocol SurveyDetailCellPresentable
Undocumented
-
The image to set in the
imageView
ofSurveyDetailCollectionViewCell
.Declaration
Swift
var image: UIImage? { get }
-
The question text to set in the
questionLabel
ofSurveyDetailCollectionViewCell
.Declaration
Swift
var questionText: String { get }
-
The description text to set in the
descriptionText
ofSurveyDetailCollectionViewCell
.Declaration
Swift
var descriptionText: String { get }
-
configure(cell:
Default implementation) Configures the
SurveyDetailCollectionViewCell
according to the property values of theSurveyDetailCellPresentable
protocol.Default Implementation
Declaration
Swift
func configure(cell: SurveyDetailCell)
Parameters
cell
The
SurveyDetailCollectionViewCell
to configure.