RBCellViewButtonSchema Class Reference

Inherits from NSObject
Declared in RBCellViewButtonSchema.h

Overview

A schema describing a cell view button.

  identifier

The unique identifier of the button.

@property (nonatomic, readonly, nonnull) NSString *identifier

Discussion

The unique identifier of the button.

Declared In

RBCellViewButtonSchema.h

  title

The title of the button.

@property (nonatomic, readonly, nullable) NSString *title

Discussion

The title of the button.

Declared In

RBCellViewButtonSchema.h

  image

The image of the button.

@property (nonatomic, readonly, nullable) UIImage *image

Discussion

The image of the button.

Declared In

RBCellViewButtonSchema.h

  isPrimaryButton

Whether or not this button is the primary button. There can be only one primary button per side of a cell (left or right). The primary button is the one that expands and becomes selected when the cell is swiped.

@property (nonatomic, readonly) BOOL isPrimaryButton

Discussion

Whether or not this button is the primary button. There can be only one primary button per side of a cell (left or right). The primary button is the one that expands and becomes selected when the cell is swiped.

Declared In

RBCellViewButtonSchema.h

  themeOverrides

Theme values to apply after any other prior theming has been applied.

@property (nonatomic, readonly, nullable) NSDictionary<NSString*id> *themeOverrides

Discussion

Theme values to apply after any other prior theming has been applied.

Declared In

RBCellViewButtonSchema.h

– initWithIdentifier:title:image:isPrimaryButton:themeOverrides:

Initializes a new cell view button schema.

- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier title:(nullable NSString *)title image:(nullable UIImage *)image isPrimaryButton:(BOOL)isPrimaryButton themeOverrides:(nullable NSDictionary *)themeOverrides

Parameters

identifier

The unique identifier of the button.

title

The button title.

image

The image for the button.

isPrimaryButton

Whether or not this button is the primary button on it’s side.

themeOverrides

Theme values to apply after any other prior theming has been applied.

Return Value

The initialized schema.

Discussion

Initializes a new cell view button schema.

Declared In

RBCellViewButtonSchema.h