MultiQuestionChallengeViewController
open class MultiQuestionChallengeViewController : CollectionViewController, ChallengeResponderDelegate
Undocumented
-
Page Control of the view.
Declaration
Swift
@IBOutlet public weak var pageControl: UIPageControl!
-
Stack view of buttons.
Declaration
Swift
@IBOutlet public weak var buttonsStackView: UIStackView!
-
Button for changing the page.
Declaration
Swift
@IBOutlet public weak var previousButton: UIButton!
-
Button that is used for responding to the challenge.
Declaration
Swift
@IBOutlet public weak var respondButton: UIButton!
-
Loading alert that is displayed when responding on a challenge.
Declaration
Swift
open var loadingAlert: AlertViewController
-
Controller for the
MultiQuestionCarouselController
.Declaration
Swift
open var carouselController: MultiQuestionCarouselController? { get }
-
Challenge Responder object.
Declaration
Swift
open var responder: ChallengeResponder? { get set }
-
Initializer assigning the responder
Declaration
Swift
public convenience init(challenge: Challenge)
-
Declaration
Swift
override open func setup()
-
Setting up the page control.
Declaration
Swift
open func setupPageControl()
-
Setting up the buttons.
Declaration
Swift
open func setupButtons()
-
Undocumented
Declaration
Swift
public func onFailure(with error: Error)
-
Undocumented
Declaration
Swift
public func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)