Function

class_getImageName(_:)

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

Declaration

func class_getImageName(_ cls: AnyClass!) -> UnsafePointer<Int8>!

Parameters

cls

The class you are inquiring about.

Return Value

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