SurveyChallengeViewController

open class SurveyChallengeViewController : CollectionViewController, ChallengeResponderDelegate

Undocumented

  • Challenge Responder object.

    Declaration

    Swift

    open var responder: ChallengeResponder?
  • Loading alert that is displayed when responding on a challenge.

    Declaration

    Swift

    open var loadingAlert: AlertViewController
  • The nib name of the View Controller.

    Declaration

    Swift

    override open class var nibName: String { get }

Initializers

ChallengeResponderDelegate

  • Undocumented

    Declaration

    Swift

    open func onFailure(with error: Error)
  • Undocumented

    Declaration

    Swift

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

Actions

  • The method that is called when the respond button is pressed.

    Declaration

    Swift

    open func respondButtonPressed()
  • Undocumented

    Declaration

    Swift

    public static func surveyResponderFor(challenge: Challenge) -> SurveyChallengeViewController?