CheckInChallengeViewController
open class CheckInChallengeViewController : NibViewController, ChallengeResponderDelegate
Undocumented
-
Stack view of the view.
Declaration
Swift
@IBOutlet public weak var stackView: UIStackView! -
Image view for displaying the image.
Declaration
Swift
@IBOutlet public weak var imageView: UIImageView! -
The activity indicator.
Declaration
Swift
@IBOutlet public weak var activityIndicatorView: UIActivityIndicatorView! -
Header label of the view.
Declaration
Swift
@IBOutlet public weak var headerLabel: UILabel! -
Detail label of the view.
Declaration
Swift
@IBOutlet public weak var detailLabel: UILabel! -
Subheader label of the view.
Declaration
Swift
@IBOutlet public weak var subheaderLabel: UILabel! -
Button that is used for responding to the challenge.
Declaration
Swift
@IBOutlet public weak var respondButton: UIButton!
-
Object of the nearest place.
Declaration
Swift
open var nearestPlace: Place? { get } -
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 -
A class conforming to the
UserLocationprotocol. This property is used to get user location coordinates to fetch the nearest place for check in.Declaration
Swift
open var userLocation: UserLocation?
-
Initializer assigning the responder.
Declaration
Swift
public convenience init(with challenge: Challenge)
-
Declaration
Swift
override open func setup() -
Refetch the challenge that contains the latest nearby place.
Declaration
Swift
open func refetchLatestChallenge() -
Sets up the view if a nearby place is found.
Declaration
Swift
open func setupNearby(place: Place) -
Sets up the view if no nearby place is found.
Declaration
Swift
open func setupNoNearby()
-
Undocumented
Declaration
Swift
open func onSuccess(with apiResponse: APIResponse<Challenge.ResponseInfo>) -
Undocumented
Declaration
Swift
open func onFailure(with error: Error)
View on GitHub
CheckInChallengeViewController Class Reference