MultiQuestionChallengeViewController

open class MultiQuestionChallengeViewController : CollectionViewController, ChallengeResponderDelegate

Undocumented

IBOutlets

  • 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!

Properties

Initializers

  • Initializer assigning the responder

    Declaration

    Swift

    public convenience init(challenge: Challenge)
  • Declaration

    Swift

    override open func setup()

Open Methods

  • Setting up the page control.

    Declaration

    Swift

    open func setupPageControl()
  • Setting up the buttons.

    Declaration

    Swift

    open func setupButtons()

ChallengeResponderDelegate

  • Undocumented

    Declaration

    Swift

    public func onFailure(with error: Error)
  • Undocumented

    Declaration

    Swift

    public func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)