Index

RBIntrospectiveObject.swift

Classes


RBIntrospectiveObject

An NSObject that provides information about it's properties. Note: Only properties recognized by the Obj-C runtime can be recognized i.e. Swift nilable types such as Int? will not be inspected. Note: The BOOL type is recognised as a signed char. To explicitly recognise as a boolean use the bool (lowercase) type instead.

Functions

Gets RBIntrospectiveObjectPropertySchema objects for each of the properties on this class and it's superclasses that are not marked to be ignored.
@returns A dictionary of property names to RBIntrospectiveObjectPropertySchema objects.
public class func propertySchemas() -> [String: RBIntrospectiveObjectPropertySchema]

Gets an array of the names of properties to ignore in this class and it's superclasses.
@returns The properties to ignore.
open class func ignoreProperties() -> [String]?

Gets an array of the raw RBIntrospectiveObjectPropertyType integer types of the properties to ignore in this class and it's superclasses.
@returns The property types to ignore.
open class func ignorePropertyTypes() -> [Int]?

Populates the properties with random values.
@param depth : The depth to which to add child objects.
open func populateRandomValues(withDepth depth: Int)