AnimatedPersonalizationOptionBuilder
@interface AnimatedPersonalizationOptionBuilder : PersonalizationOptionBuilder
AnimatedPersonalizationOptionBuilder is used only to help construct the AnimatedPersonalizationOption and should not be initialized directly.
Instances of these properties should be instantiated and set in the AnimatedPersonalizationOption animatedPersonalizationOptionWithBuilder: method.
-
The text to be displayed at the top of the view controller.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSString *titleText;Swift
var titleText: String! { get set } -
A list of suggested search terms shown before a user searches for gifs from the SearchAgent. If no list of suggested search terms is provided, a default list of terms will be fetched from the Vouchr Server.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSArray<NSString *> *suggestedSearchTerms;Swift
var suggestedSearchTerms: [String]! { get set } -
The maximum number of images returned by the SearchAgent. Setting to zero will enable pagination and fetch all results.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSInteger maxSearchResults;Swift
var maxSearchResults: Int { get set } -
The background color shown while images are loading. If you do not want background colors, set an empty array.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) NSArray<UIColor *> *imageBackgroundColors;Swift
var imageBackgroundColors: [UIColor]! { get set } -
Whether the user is allowed to type in the search bar. Disabling this will not allow a user to search anything but the suggested search terms.
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BOOL allowUserCustomSearch;Swift
var allowUserCustomSearch: Bool { get set } -
Theme used on the
VouchrImageMediaSearchViewController.Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *imageSelectorVouchrTheme;Swift
var imageSelectorVouchrTheme: VouchrTheme! { get set } -
Theme used on the
VouchrImageConfirmationViewController.Declaration
Objective-C
@property (readwrite, strong, nonatomic) VouchrTheme *addImageVouchrTheme;Swift
var addImageVouchrTheme: VouchrTheme! { get set }
View on GitHub
AnimatedPersonalizationOptionBuilder Class Reference