NSValue Core Animation Additions

Inherits from
Conforms to
Framework
/System/Library/Frameworks/QuartzCore.framework
Availability
Available in iOS 2.0 and later.
Declared in
CATransform3D.h
Companion guides

Overview

Core Animation adds two methods to the Foundation framework’s NSValue class to support CATransform3D structure values.

Tasks

Creating an NSValue

Accessing Data

Class Methods

valueWithCATransform3D:

Creates and returns an NSValue object that contains a given CATransform3D structure.

+ (NSValue *)valueWithCATransform3D:(CATransform3D)aTransform
Parameters
aTransform

The value for the new object.

Return Value

A new NSValue object that contains the value of aTransform.

Availability
  • Available in iOS 2.0 and later.
Related Sample Code
Declared In
CATransform3D.h

Instance Methods

CATransform3DValue

Returns an CATransform3D structure representation of the receiver.

- (CATransform3D)CATransform3DValue
Return Value

An CATransform3D structure representation of the receiver.

Availability
  • Available in iOS 2.0 and later.
Declared In
CATransform3D.h