Function

class_getName(_:)

Returns the name of a class.

Declaration

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

Parameters

cls

A class object.

Return Value

The name of the class, or the empty string if cls is Nil.