Function

objc_copyClassList

Creates and returns a list of pointers to all registered class definitions.

Declaration

Class  _Nonnull * objc_copyClassList(unsigned int *outCount);

Parameters

outCount

An integer pointer used to store the number of classes returned by this function in the list. This parameter may be nil.

Return Value

A nil terminated array of classes. You must free the array with free().

See Also

Obtaining Class Definitions

objc_getClassList

Obtains the list of registered class definitions.

objc_lookUpClass

Returns the class definition of a specified class.

objc_getClass

Returns the class definition of a specified class.

objc_getRequiredClass

Returns the class definition of a specified class.

objc_getMetaClass

Returns the metaclass definition of a specified class.

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