Returns a string that describes the contents of the receiver for presentation in the debugger.
- iOS 5.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 2.0+
A string that describes the contents of the receiver for presentation in the debugger.
The debugger’s print-object command invokes this method to produce a textual description of an object.
NSObject implements this method by calling through to the
description method. Thus, by default, an object’s debug description is the same as its description. However, you can override
debug if you want to decouple these.