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

Discussion

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

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

Discussion

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

Declared In

RBToolbarCustomItemSchema.h

  view

The view to place in the toolbar.

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

Discussion

The view to place in the toolbar.

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.

Discussion

Initializes a schema for a custom toolbar item.

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

Discussion

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

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

Discussion

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

Declared In

RBToolbarSchema+FlexiSchema.h