MultiQuestionCarouselController
open class MultiQuestionCarouselController : CarouselCollectionController<SurveyResponderController>
Undocumented
-
Identifier for the
SurveyQuestionCell
.Declaration
Swift
public let cellReuseIdentifier: String
-
View controller for the
MultiQuestionChallengeViewController
.Declaration
Swift
open var responderViewController: MultiQuestionChallengeViewController? { get }
-
Parameters of survey answers.
Declaration
Swift
open var surveyAnswers: [Parameters] { get }
-
Boolean that checks is all answers are answered.
Declaration
Swift
open var isAnswersComplete: Bool { get }
-
Initializer that calls the
updateCollection
method.Declaration
Swift
public convenience init(challenge: Challenge)
-
Declaration
Swift
override open func setupPageControl()
-
Declaration
Swift
override open func registerComponents()
-
Show the previous page.
Declaration
Swift
open func previousButtonPressed(_ sender: UIButton)
-
Loads the content.
Declaration
Swift
override open func loadContent()
-
Undocumented
Declaration
Swift
override open func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
@objc override open func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
@objc override open func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)
-
Returns the responder survey type.
Declaration
Swift
open func getResponders(from challenge: Challenge) -> [SurveyResponderController]
-
Show the next page.
Declaration
Swift
open func scrollToNext()