Declared in NSValue+DTConversion.h

Overview

Category on NSValue providing some struct encoding that is missing on Mac, but exists on iOS.

Class Methods

valueWithCGAffineTransform:

Creates and returns a value object that contains the specified affine transform data.

+ (NSValue *)valueWithCGAffineTransform:(CGAffineTransform)transform

Parameters

transform

The value for the new object.

Return Value

A new value object that contains the affine transform data.

Declared In

NSValue+DTConversion.h

valueWithCGPoint:

Creates and returns a value object that contains the specified point structure.

+ (NSValue *)valueWithCGPoint:(CGPoint)point

Parameters

point

The value for the new object.

Return Value

A new value object that contains the point information.

Declared In

NSValue+DTConversion.h

Instance Methods

CGAffineTransformValue

Returns an affine transform structure representing the data in the receiver.

- (CGAffineTransform)CGAffineTransformValue

Return Value

An affine transform structure containing the receiver’s value.

Declared In

NSValue+DTConversion.h

CGPointValue

Returns a point structure representing the data in the receiver.

- (CGPoint)CGPointValue

Return Value

A point structure containing the receiver’s value.

Declared In

NSValue+DTConversion.h