VOAnimatedPersonalizationOptionBuilder

@interface VOAnimatedPersonalizationOptionBuilder
    : VOPersonalizationOptionBuilder

VOAnimatedPersonalizationOptionBuilder is used only to help construct the VOAnimatedPersonalizationOption and should not be initialized directly. Instances of these properties should be instantiated and set in the VOAnimatedPersonalizationOption 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 VOSearchAgent. 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 VOSearchAgent. 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 }
  • Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) VOTheme *imageSelectorVouchrTheme;

    Swift

    var imageSelectorVouchrTheme: VOTheme! { get set }
  • Theme used on the VOImageConfirmationViewController.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) VOTheme *addImageVouchrTheme;

    Swift

    var addImageVouchrTheme: VOTheme! { get set }