RBThemeSchemaState Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBThemeSchemaState.h |
name
The name of the state.
@property (nonatomic, readonly, nonnull) NSString *name
Discussion
The name of the state.
Declared In
RBThemeSchemaState.h
note
An optional note about the state.
@property (nonatomic, readonly, nullable) NSString *note
Discussion
An optional note about the state.
Declared In
RBThemeSchemaState.h
subStates
If this state property has further states.
@property (nonatomic, readonly, nullable) NSArray<RBThemeSchemaState*> *subStates
Discussion
If this state property has further states.
Declared In
RBThemeSchemaState.h
– initWithName:note:
Initializes a new state theme schema.
- (nonnull instancetype)initWithName:(nonnull NSString *)name note:(nullable NSString *)note
Return Value
The initialized schema object.
Discussion
Initializes a new state theme schema.
Declared In
RBThemeSchemaState.h
– dictionary
Serialises the theme schema state to a property list.
- (nonnull NSDictionary<NSString*,NSString*> *)dictionary
Return Value
The serialised theme schema state.
Discussion
Serialises the theme schema state to a property list.
Declared In
RBThemeSchemaState.h
– addSubState:
Adds a sub state to this state.
- (void)addSubState:(nonnull RBThemeSchemaState *)state
Parameters
state |
The sub state |
---|
Discussion
Adds a sub state to this state.
Declared In
RBThemeSchemaState.h