ViewContentViewController
open class ViewContentViewController : StatefulViewController, ChallengeResponderDelegate
A NibViewController
subclass that manages the View Content View Controller.
Note
Being a subclass of aNibViewController
, an associated nib file is required with outlets connected.
-
Undocumented
Declaration
Swift
@IBOutlet public weak var contentView: UIView!
-
Undocumented
Declaration
Swift
@IBOutlet public weak var actionButton: UIButton!
-
Loading alert that is displayed when responding on a challenge.
Declaration
Swift
open lazy var loadingAlert: AlertViewController { get set }
-
Undocumented
Declaration
Swift
open var viewContentController: ViewContentController? { get set }
-
Challenge Responder object.
Declaration
Swift
open var responder: ChallengeResponder?
-
Undocumented
Declaration
Swift
public convenience init(challenge: Challenge, viewContentController: ViewContentController)
-
Declaration
Swift
override open func setup()
-
Undocumented
Declaration
Swift
open func setupTitle()
-
Undocumented
Declaration
Swift
open func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>)
-
Undocumented
Declaration
Swift
open func onFailure(with error: Error)