RBIntrospectiveObject Class Reference

Inherits from NSObject
Declared in RBIntrospectiveObject.h

Overview

An NSObject that provides information about it’s properties.

Note: The BOOL type is recognised as a signed char. To explicitly recognise as a boolean use the bool (lowercase) type instead.

+ propertySchemas

Gets RBIntrospectiveObjectPropertySchema objects for each of the properties on this class and it’s superclasses that are not marked to be ignored.

+ (nonnull NSDictionary<NSString*,RBIntrospectiveObjectPropertySchema*> *)propertySchemas

Return Value

A dictionary of property names to RBIntrospectiveObjectPropertySchema objects.

Declared In

RBIntrospectiveObject.h

– populateRandomValuesWithDepth:

Populates the properties with random values.

- (void)populateRandomValuesWithDepth:(uint)depth

Parameters

depth

The depth to which to add child objects.

Declared In

RBIntrospectiveObject.h

+ ignoreProperties

Gets an NSArray of the names of properties to ignore in this class and it’s superclasses.

+ (nullable NSArray<NSString*> *)ignoreProperties

Return Value

The resulting NSArray object of property names strings (NSString).

Declared In

RBIntrospectiveObject.h

+ ignorePropertyTypes

Gets an NSArray of the types (NSNumber wrapped RBIntrospectiveObjectPropertyType values) of properties to ignore in this class and it’s superclasses.

+ (nullable NSArray<NSNumber*> *)ignorePropertyTypes

Return Value

The resulting NSArray object of property types.

Declared In

RBIntrospectiveObject.h