RBThemeFileCollection Class Reference

Inherits from NSObject
Declared in RBThemeFileCollection.h

Overview

Loads the theme include file routes and builds an ordered and categorized collection of theme files for loading.

  allFilenames

All of the filenames of all types of theme file.

@property (nonatomic, readonly, nullable) NSArray<NSString*> *allFilenames

Declared In

RBThemeFileCollection.h

  includeFilenames

All of the filenames of the theme include files.

@property (nonatomic, readonly, nullable) NSArray<NSString*> *includeFilenames

Declared In

RBThemeFileCollection.h

  themeFilenames

All of the filenames of the theme files.

@property (nonatomic, readonly, nullable) NSArray<NSString*> *themeFilenames

Declared In

RBThemeFileCollection.h

– initWithBundle:

Initializes a new theme file collection by searching the bundle.

- (nonnull instancetype)initWithBundle:(NSError *_Nullable *_Nullable)error

Parameters

error

A pointer to assign a NSError* object to in the event of an error.

Return Value

The initialized theme file collection object.

Declared In

RBThemeFileCollection.h

– initWithSerializedDictionary:

Initializes a new theme file collection by loading from a serialized collection.

- (nonnull instancetype)initWithSerializedDictionary:(nonnull NSDictionary<NSString*,NSArray<NSString*> *> *)dictionary

Parameters

dictionary

The serialized collection.

Return Value

The initialized theme file collection object.

Declared In

RBThemeFileCollection.h

– serializedDictionary

Serializes the theme file collection to a property list.

- (nonnull NSDictionary<NSString*,NSArray<NSString*> *> *)serializedDictionary

Return Value

The serialized theme file collection property list.

Declared In

RBThemeFileCollection.h

– identicalTo:

Compares the receiver to the given instance of RBThemeFileCollection and determines whether they are identical.

- (BOOL)identicalTo:(nonnull RBThemeFileCollection *)collection

Parameters

collection

The RBThemeFileCollection object to compare the receiver to.

Return Value

Whether or not the two RBThemeFileCollection objects are identical.

Declared In

RBThemeFileCollection.h

– importInto:error:

Imports the theme files in the collection to the given RBThemeSet object.

- (void)importInto:(nonnull RBThemeSet *)themeSet error:(NSError *_Nullable *_Nullable)error

Parameters

themeSet

The RBThemeSet object to import to.

error

A pointer to assign a NSError* object to in the event of an error.

Declared In

RBThemeFileCollection.h