Is it possible to get a list of all descendant classes of a particular class in objective-c?
Something like:
@interface A : NSObject @end
@interface B : A @end
@interface C : A @end
NSArray *descendants = [A allDescendants]; // descendants = [B, C]