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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software