Type Method

isSubclassOfClass:

Returns a Boolean value that indicates whether the receiving class is a subclass of, or identical to, a given class.

Declaration

+ (BOOL)isSubclassOfClass:(Class)aClass;

Parameters

aClass

A class object.

Return Value

YES if the receiving class is a subclass of—or identical to—aClass, otherwise NO.

See Also

Identifying Classes

+ class

Returns the class object.

+ superclass

Returns the class object for the receiver’s superclass.