RBToolbarCustomItemSchema Class Reference

Inherits from NSObject
Declared in RBToolbarCustomItemSchema.h

Overview

A schema for a custom toolbar item.

Other Methods

  identifier

The unqiue identifier of the toolbar button. Identifier is also used as theme identifier within the toolbar theme.

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

Declared In

RBToolbarCustomItemSchema.h

  themeOverrides

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

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

Declared In

RBToolbarCustomItemSchema.h

  view

The view to place in the toolbar.

@property (nonatomic, readonly, nonnull) UIView *view

Declared In

RBToolbarCustomItemSchema.h

– initWithIdentifier:view:themeOverrides:

Initializes a schema for a custom toolbar item.

- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier view:(nonnull UIView *)view themeOverrides:(nullable NSDictionary<NSString*,id> *)themeOverrides

Parameters

identifier

The unique identifier of the button.

view

The view to place in the toolbar.

themeOverrides

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

Return Value

The initialized schema object.

Declared In

RBToolbarCustomItemSchema.h

FlexiSchema Methods

  flexiRowSchema

The required schema for an RBLayoutFlexiPositioner object to display this row element of the toolbar schema.

@property (nonatomic, readonly, nonnull) RBLayoutFlexiPositionerRowSchema *flexiRowSchema

Declared In

RBToolbarSchema+FlexiSchema.h

  flexiCellSchema

The required schema for an RBLayoutFlexiPositioner object to display this cell element of the toolbar schema.

@property (nonatomic, readonly, nonnull) RBLayoutFlexiPositionerCellSchema *flexiCellSchema

Declared In

RBToolbarSchema+FlexiSchema.h