Type Method

description()

Returns a string that represents the contents of the receiving class.

Declaration

class func description() -> String

Return Value

A string that represents the contents of the receiving class.

Discussion

The debugger’s print-object command invokes this method to produce a textual description of an object.

NSObject's implementation of this method simply prints the name of the class.

See Also