Function

class_getImageName

Returns the name of the dynamic library a class originated from.

Declaration

const char * class_getImageName(Class cls);

Parameters

cls

The class you are inquiring about.

Return Value

A C string representing the name of the library containing the cls class.

See Also

Working with Libraries

objc_copyImageNames

Returns the names of all the loaded Objective-C frameworks and dynamic libraries.

objc_copyClassNamesForImage

Returns the names of all the classes within a specified library or framework.