Index

RBCellViewButtonSchema.h

Classes


RBCellViewButtonSchema

A schema describing a cell view button.

Properties

The unique identifier of the button.
public identifier NSString { get }

The title of the button.
public title NSString? { get }

The image of the button.
public image UIImage? { get }

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.
public isPrimaryButton Bool { get }

Theme values to apply after any other prior theming has been applied.
public themeOverrides [String : Any]? { get }

Functions

Initializes a new cell view button schema.
@param identifier : The unique identifier of the button.
@param title : The button title.
@param image : The image for the button.
@param isPrimaryButton : Whether or not this button is the primary button on it's side.
@param themeOverrides : Theme values to apply after any other prior theming has been applied.
@returns The initialized schema.
- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier