ChallengeDetailController
public protocol ChallengeDetailController : ContentController
Represents a type for providing data and handling actions for ChallengeResponseDetailViewController
.
-
Challenge object.
Declaration
Swift
var challenge: Challenge? { get set }
-
Response Info of the Challenge.
Declaration
Swift
var responseInfo: Challenge.ResponseInfo? { get set }
-
Sets up the
ChallengeResponseDetailViewController
. This method is called in thesetup
method inChallengeResponseDetailViewController
.Declaration
Swift
func setupViewController(_ viewController: ChallengeResponseDetailViewController)
-
Called when the back button of the
ChallengeResponseDetailViewController
is pressed.Declaration
Swift
func backButtonPressed(_ backButton: UIButton)
-
Called when the feed button of the
ChallengeResponseDetailViewController
is pressed.Declaration
Swift
func feedButtonPressed(_ feedButton: UIButton)