ProfileChallengeViewController

open class ProfileChallengeViewController : CollectionViewController, ChallengeResponderDelegate

Undocumented

Properties

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

Initializers

Open methods

  • 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

ChallengeResponderDelegate

  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    open func onFailure(with error: Error)