ProfileChallengeViewController
open class ProfileChallengeViewController : CollectionViewController, ChallengeResponderDelegate
Undocumented
-
Loading alert that is displayed when responding on a challenge.
Declaration
Swift
open var loadingAlert: AlertViewController
-
Challenge Responder object.
Declaration
Swift
open var responder: ChallengeResponder?
-
The parameter to send on responding to the challenge.
Declaration
Swift
open var answer: Parameters?
-
Undocumented
Declaration
Swift
public convenience init(challenge: Challenge, collectionController: ProfileChallengeController?, nibName: String = "CollectionViewController")
-
Declaration
Swift
override open func setup()
-
Setup the submit button.
Declaration
Swift
open func setupSubmitButton()
-
Check whether the
answer
value is set from attributes.Declaration
Swift
open func answerIsSetFromAttributes(_ attributes: [MutableProfileAttribute]) -> Bool
-
Undocumented
Declaration
Swift
open func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)
-
Undocumented
Declaration
Swift
open func onFailure(with error: Error)