[Previous] [Up] [Next]

NSObject

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSObject

NSObject

Declared in: Foundation/NSObject.h

Conforms to: NSObject



alloc

+ (id) alloc

allocWithZone:

+ (id) allocWithZone: (NSZone*)zone

cancelPreviousPerformRequestsWithTarget:selector:

+ (void) cancelPreviousPerformRequestsWithTarget: (id)aTarget selector: (SEL)aSelector

class

+ (Class) class

conformsToProtocol:

+ (BOOL) conformsToProtocol: (Protocol*)aProtocol

copyWithZone:

+ (id) copyWithZone: (NSZone*)zone

description

+ (NSString*) description
The description factory method describes the class of the receiver. In the default GNUstep implementation, this simply returns the name of the class as an NSString object.

descriptionWithLocale:

+ (NSString*) descriptionWithLocale: (NSDictionary*)aLocale
Standards: GNUstep
The default (NSOBject) implementation of this method simply calls the description method and discards the locale information.

descriptionWithLocale:indent:

+ (NSString*) descriptionWithLocale: (NSDictionary*)aLocale indent: (unsigned int)level
Standards: GNUstep
The default (NSObject) implementation of this method simply calls the descriptionWithLocale: method and discards the level information.

descriptionWithLocale:indent:to:

+ (NSString*) descriptionWithLocale: (NSDictionary*)aLocale indent: (unsigned int)level to: (id<GNUDescriptionDestination>)output
Standards: GNUstep
The default (NSObject) implementation of this method simply calls the descriptionWithLocale:indent: method and appends the value returned by that method to the output object.

initialize

+ (void) initialize

instanceMethodForSelector:

+ (IMP) instanceMethodForSelector: (SEL)aSelector

instanceMethodSignatureForSelector:

+ (NSMethodSignature*) instanceMethodSignatureForSelector: (SEL)aSelector

instancesRespondToSelector:

+ (BOOL) instancesRespondToSelector: (SEL)aSelector

load

+ (void) load

mutableCopyWithZone:

+ (id) mutableCopyWithZone: (NSZone*)zone

new

+ (id) new

poseAsClass:

+ (void) poseAsClass: (Class)aClass

setVersion:

+ (void) setVersion: (int)aVersion

superclass

+ (Class) superclass

version

+ (int) version

awakeAfterUsingCoder:

- (id) awakeAfterUsingCoder: (NSCoder*)aDecoder

classForArchiver

- (Class) classForArchiver

classForCoder

- (Class) classForCoder

classForPortCoder

- (Class) classForPortCoder

connection:handleRequest:

- (BOOL) connection: (NSConnection*)connection handleRequest: (NSDistantObjectRequest*)doreq

copy

- (id) copy

dealloc

- (void) dealloc

description

- (NSString*) description

The description method describes the reciever. In the default GNUstep implementation, this returns an NSString object giving the name of the class of the receiver and the hexadecimal representation of the recievers address enclosed in angle brackets.

Generally, classes other than NSObject will override this method to provide a more informative description of their instances.


descriptionWithLocale:

- (NSString*) descriptionWithLocale: (NSDictionary*)aLocale
Standards: GNUstep
The default (NSOBject) implementation of this method simply calls the description method and discards the locale information.

descriptionWithLocale:indent:

- (NSString*) descriptionWithLocale: (NSDictionary*)aLocale indent: (unsigned int)level
Standards: GNUstep
The default (NSObject) implementation of this method simply calls the descriptionWithLocale: method and discards the level information.

descriptionWithLocale:indent:to:

- (NSString*) descriptionWithLocale: (NSDictionary*)aLocale indent: (unsigned int)level to: (id<GNUDescriptionDestination>)output
Standards: GNUstep
The default (NSObject) implementation of this method simply calls the descriptionWithLocale:indent: method and appends the value returned by that method to the output object.

Property-list classes (NSString, NSArray, NSDictionary and NSData) will override this method in order to efficiently write descriptions of themselves into property lists.


doesNotRecognizeSelector:

- (void) doesNotRecognizeSelector: (SEL)aSelector

forwardInvocation:

- (void) forwardInvocation: (NSInvocation*)anInvocation

hash

- (unsigned int) hash

init

- (id) init

isEqual:

- (BOOL) isEqual: (id)anObject

methodForSelector:

- (IMP) methodForSelector: (SEL)aSelector

methodSignatureForSelector:

- (NSMethodSignature*) methodSignatureForSelector: (SEL)aSelector

mutableCopy

- (id) mutableCopy

performSelector:withObject:

- (void) performSelector: (SEL)aSelector withObject: (id)anArgument

performSelector:withObject:afterDelay:inModes:

- (void) performSelector: (SEL)aSelector withObject: (id)anArgument afterDelay: (NSTimeInterval)delay inModes: (NSArray*)modes

replacementObjectForArchiver:

- (id) replacementObjectForArchiver: (NSArchiver*)anArchiver

replacementObjectForCoder:

- (id) replacementObjectForCoder: (NSCoder*)aCoder

replacementObjectForPortCoder:

- (id) replacementObjectForPortCoder: (NSPortCoder*)aCoder