objc

Instance Methods | Class Methods
Object(Description) Category Reference

A category that adds a description method to the Object class. More...

#import <Foundation/Foundation.h>

Instance Methods

(NXString *) - description
 Returns a string that represents the instance. More...
 

Class Methods

(NXString *) + description
 Returns a string that represents the class. More...
 

Detailed Description

A category that adds a description method to the Object class.

This category provides a standardized way to get a string representation of any object instance or class, which is useful for debugging and logging purposes.

Definition at line 20 of file Object+Description.h.

Method Documentation

◆ description() [1/2]

- (NXString *) description

Returns a string that represents the instance.

Returns
A string that describes the receiver.

Extends class Object.

◆ description() [2/2]

+ (NXString *) description

Returns a string that represents the class.

Returns
A string that describes the receiver.

Extends class Object.


The documentation for this category was generated from the following file: