RBReflectionUtility Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBReflectionUtility.h |
+ subclassesOf:
Finds the subclasses of the given type.
+ (nullable NSSet *)subclassesOf:(nonnull Class)type
Parameters
type |
The type to find subclasses for. |
---|
Return Value
A set of the subclasses that were found.
Discussion
Finds the subclasses of the given type.
Declared In
RBReflectionUtility.h
+ classesThatMatch:
Finds all of the classes that match the given block.
+ (nullable NSSet *)classesThatMatch:(nonnull BOOL ( ^ ) ( Class __nonnull typeClass ))classMatchBlock
Parameters
classMatchBlock |
The block to determine whether a given type is acceptable. |
---|
Return Value
A set of the matching classes.
Discussion
Finds all of the classes that match the given block.
Declared In
RBReflectionUtility.h