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 }
-
Initializer assigning the responder.
Declaration
Swift
public convenience init(with challenge: Challenge, responderController: SurveyResponderController)
-
Declaration
Swift
override open func setup()
-
Undocumented
Declaration
Swift
open func setupTitle()
-
Undocumented
Declaration
Swift
open func onFailure(with error: Error)
-
Undocumented
Declaration
Swift
open func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)
-
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?