Contents

object_getClassName(_:)

Returns the class name of a given object.

Declaration

func object_getClassName(_ obj: Any?) -> UnsafePointer<CChar>

Parameters

  • obj:

    An Objective-C object.

Return Value

The name of the class of which obj is an instance.

See Also

Working with Instances