class_getImageName(_:)
Returns the name of the dynamic library a class originated from.
Declaration
func class_getImageName(_ cls: AnyClass?) -> UnsafePointer<CChar>?Parameters
- cls:
The class you are inquiring about.
Return Value
A C string representing the name of the library containing the cls class.