RBMenuSegmentCustomItemSchema Class Reference

Inherits from NSObject
Declared in RBMenuSegmentCustomItemSchema.h

Overview

A custom item schema.

  identifier

The unique identifier of the button. Identifier is also used as theme identifier within the segment theme.

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

Discussion

The unique identifier of the button. Identifier is also used as theme identifier within the segment theme.

Declared In

RBMenuSegmentCustomItemSchema.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

RBMenuSegmentCustomItemSchema.h

  view

The custom view.

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

Discussion

The custom view.

Declared In

RBMenuSegmentCustomItemSchema.h

– initWithIdentifier:view:themeOverrides:

Initializes a new menu button schema.

- (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 custom view.

themeOverrides

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

Return Value

The initialized menu button schema.

Discussion

Initializes a new menu button schema.

Declared In

RBMenuSegmentCustomItemSchema.h