Index

RBThemeSet.h

Classes


RBThemeSet

A theme set that pre-processes imported constants and themes.

Properties

The available themes by their name.
public themes [String : Any]? { get }

The themes that are pending being processed and imported to the set.
public pendingThemes [String : Any]? { get }

Functions

Imports theme data with the given name.
@param data : The theme data.
@param name : The name of the theme data.
@param error : The error to set on error.
- (void)import:(nonnull id)data withName:(nonnull NSString *)name error:(NSError * _Nullable * _Nullable)error;

Processes the pending themes and constants and makes them available.
@param error : A pointer to an NSError object that is assigned in the event of an error.
- (void)processPendingImportsWithError:(NSError * _Nullable * _Nullable)error;

Deserializes and imports a serialized theme set.
@param themeSetData : The NSData object representing the serialized theme set.
- (void)deserializeAndImportFrom:(nonnull NSData *)themeSetData;