Type Method

valueWithSize:

Creates a new value object containing the specified Foundation size structure.

Declaration

+ (NSValue *)valueWithSize:(NSSize)size;

Parameters

size

The value for the new object.

Return Value

A new value object that contains the size information.

See Also

Working with Foundation Geometry Values

+ valueWithPoint:

Creates a new value object containing the specified Foundation point structure.

+ valueWithRect:

Creates a new value object containing the specified Foundation rectangle structure.

pointValue

The Foundation point structure representation of the value.

sizeValue

The Foundation size structure representation of the value.

rectValue

The Foundation rectangle structure representation of the value.