Type Method

description

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

Declaration

+ (NSString *)description;

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