VOChallengePersonalizationOptionBuilder
@interface VOChallengePersonalizationOptionBuilder
: VOPersonalizationOptionBuilder
VOChallengePersonalizationOptionBuilder
is used only to help construct the VOChallengePersonalizationOption
and should not be initialized directly.
Instances of these properties should be instantiated and set in the VOChallengePersonalizationOption
challengePersonalizationOptionWithBuilder:
method.
-
The title shown in the default challenge carousel selection screen.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSString *titleText;
Swift
var titleText: String! { get set }
-
A boolean on whether or not to show the intro ‘add a challenge’ card.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL showIntroChallengeCard;
Swift
var showIntroChallengeCard: Bool { get set }
-
Title text of the intro ‘add a challenge’ card.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSString *introChallengeCardTitle;
Swift
var introChallengeCardTitle: String! { get set }
-
Description text of the intro ‘add a challenge’ card.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSString *introChallengeCardDescription;
Swift
var introChallengeCardDescription: String! { get set }
-
Background image of the intro ‘add a challenge’ card.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) UIImage *introChallengeCardImage;
Swift
var introChallengeCardImage: UIImage! { get set }
-
List of game datas that can be added as a challenge. If the list is empty or nil a network request is made to the VouchrServer to get a list of supported gameDatas.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSArray<VOGameData *> *gameDatas;
Swift
var gameDatas: [VOGameData]! { get set }