[Previous] [Up]

NSValue

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSValue

NSValue

Declared in: Foundation/NSValue.h

Inherits from: NSObject

Conforms to: NSCoding



value:withObjCType:

+ (NSValue*) value: (const void*)value withObjCType: (const char*)type

valueWithBytes:objCType:

+ (NSValue*) valueWithBytes: (const void*)value objCType: (const char*)type

valueWithNonretainedObject:

+ (NSValue*) valueWithNonretainedObject: (id)anObject

valueWithPoint:

+ (NSValue*) valueWithPoint: (NSPoint)aPoint

valueWithPointer:

+ (NSValue*) valueWithPointer: (const void*)aPointer

valueWithRect:

+ (NSValue*) valueWithRect: (NSRect)rect

valueWithSize:

+ (NSValue*) valueWithSize: (NSSize)size

getValue:

- (void) getValue: (void*)buffer

initWithBytes:objCType:

- (id) initWithBytes: (const void*)value objCType: (const char*)type

- (id)

nonretainedObjectValue

- (id) nonretainedObjectValue

objCType

- (const char*) objCType

pointValue

- (NSPoint) pointValue

pointerValue

- (void*) pointerValue

rectValue

- (NSRect) rectValue

sizeValue

- (NSSize) sizeValue