Index

RBThemeSchema.swift

Enumerations

Classes


RBThemeSchema

Properties

public var fields RBThemeSchema]() { get set }

Functions

public class func allTypesWithSchemas() -> [AnyClass]

public class func trees(forTypes types: [AnyClass]) throws -> [[String: Any]]

public func importSchema(_ themeSchema: RBThemeSchema)

public func importProperties(_ properties: [String], from themeSchema: RBThemeSchema)

public func addNote(_ noteString: String)

public func add(_ state: RBThemeSchemaState)

public func setPropertyWithName(_ propertyName: String, schema themeSchema: RBThemeSchema) -> RBThemeSchema?

public func setPropertyWithName(_ propertyName: String, type: AnyClass, notes: String?) -> RBThemeSchema?

public func setPropertyWithName(_ propertyName: String, nativeType: RBThemeNativeType, notes: String?) -> RBThemeSchema?

public func setPropertyWithName(_ propertyName: String, typeName: String, notes: String?) -> RBThemeSchema?

public func setEnumPropertyWithName(_ propertyName: String, enumerationTypeName: String, notes: String?) -> RBThemeSchema?

public func setEnumPropertyWithName(_ propertyName: String, enumerationTypeName: String, enumValues: [String], notes: String?) -> RBThemeSchema?

public func removeState(withName stateName: String)

public func removeProperty(withName propertyName: String)

public func removeAllNotes()

public func removeAllStates()

public func removeAllProperties()

public func dictionary() -> [String: Any]