Instance Property

translatesReferenceBoundsIntoBoundary

Specifies whether a boundary based on the reference system is active.

Declaration

@property(nonatomic, readwrite) BOOL translatesReferenceBoundsIntoBoundary;

Discussion

To specify a collision boundary based on the reference system, use the setTranslatesReferenceBoundsIntoBoundaryWithInsets: method.

See Also

Configuring a Collision Behavior

- addBoundaryWithIdentifier:forPath:

Adds a collision boundary, specified as a Bezier path, to the collision behavior.

- addBoundaryWithIdentifier:fromPoint:toPoint:

Adds a collision boundary, specified as a line segment, to the collision behavior.

boundaryIdentifiers

The set of boundary identifiers that you’ve added to the collision behavior.

- boundaryWithIdentifier:

Returns a specified Bezier-path boundary.

collisionMode

The type of edges that participate in collisions for the collision behavior.

- removeAllBoundaries

Removes all previously-specified collision boundaries from the collision behavior.

- removeBoundaryWithIdentifier:

Removes a specific collision boundary from the collision behavior.

- setTranslatesReferenceBoundsIntoBoundaryWithInsets:

Specifies a collision boundary based on the bounds of the animation reference system, with optional insets.