RBMenuSegmentButtonSchema Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBMenuSegmentButtonSchema.h |
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
RBMenuSegmentButtonSchema.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
RBMenuSegmentButtonSchema.h
title
The title for the button that will be created from this schema.
@property (nonatomic, readonly, nullable) NSString *title
Discussion
The title for the button that will be created from this schema.
Declared In
RBMenuSegmentButtonSchema.h
– initWithIdentifier:title:themeOverrides:
Initializes a new menu button schema.
- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier title:(nullable NSString *)title themeOverrides:(nullable NSDictionary<NSString*,id> *)themeOverrides
Parameters
identifier |
The unique identifier of the button. |
---|---|
title |
The title of the button. |
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
RBMenuSegmentButtonSchema.h