VODiscoverScreenBuilder

@interface VODiscoverScreenBuilder : NSObject

VODiscoverScreenBuilder is used only to help construct the VODiscoverScreenViewController and should not be initialized directly. Instances of these properties should be instantiated and set in the VOEngine vouchrEngineWithBuilder: method.

  • The number of columns to display in the VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSUInteger numberOfColumns;

    Swift

    var numberOfColumns: UInt { get set }
  • The aspect ratio for the cell dimensions (width / height) in the VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat cellAspectRatio;

    Swift

    var cellAspectRatio: CGFloat { get set }
  • The spacing to use to the left, right, top, bottom and in betweeen cells in the VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat cellPadding;

    Swift

    var cellPadding: CGFloat { get set }
  • Determines whether the cells display an action button in the VODiscoverScreenViewController.

    Note

    Regardless of this value the cell can always be selected by tapping anywhere on the cell.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL showCellActionButton;

    Swift

    var showCellActionButton: Bool { get set }
  • The text that appears on the occassion cell’s action button in the VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *_Nonnull cellActionButtonText;

    Swift

    var cellActionButtonText: String { get set }
  • Corner radius applied to each cell in the VODiscoverScreenViewController.

    Note

    Does not apply to the header.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat cellCornerRadius;

    Swift

    var cellCornerRadius: CGFloat { get set }
  • Shadow radius applied to each cell in the VODiscoverScreenViewController.

    Note

    Does not apply to the header.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat cellShadowRadius;

    Swift

    var cellShadowRadius: CGFloat { get set }
  • Shadow offset applied to each cell in the VODiscoverScreenViewController.

    Note

    Does not apply to the header.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGSize cellShadowOffset;

    Swift

    var cellShadowOffset: CGSize { get set }
  • Shadow opacity applied to each cell in the VODiscoverScreenViewController.

    Note

    Does not apply to the header.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGFloat cellShadowOpacity;

    Swift

    var cellShadowOpacity: CGFloat { get set }
  • The background color applied to top header view in VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIColor *_Nonnull headerBackgroundColor;

    Swift

    var headerBackgroundColor: UIColor { get set }
  • The image that appears in the top header view of VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIImage *_Nonnull headerImage;

    Swift

    var headerImage: UIImage { get set }
  • The text that appears in the top header view of VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *_Nonnull headerText;

    Swift

    var headerText: String { get set }
  • The image that appears in the button in the top header view of VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIImage *_Nonnull headerButtonImage;

    Swift

    var headerButtonImage: UIImage { get set }
  • The background color of VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIColor *_Nonnull backgroundColor;

    Swift

    var backgroundColor: UIColor { get set }
  • The theme to be applied to VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) VOTheme *_Nonnull theme;

    Swift

    var theme: VOTheme { get set }
  • Hides the close button on VODiscoverScreenViewController.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL hideCloseButton;

    Swift

    var hideCloseButton: Bool { get set }