Class

CATiledLayer

A layer that provides a way to asynchronously provide tiles of the layer's content, potentially cached at multiple levels of detail.

Declaration

@interface CATiledLayer : CALayer

Overview

As more data is required by the renderer, the layer's drawInContext: method is called on one or more background threads to supply the drawing operations to fill in one tile of data. The clip bounds and current transformation matrix (CTM) of the drawing context can be used to determine the bounds and resolution of the tile being requested.

Regions of the layer may be invalidated using the setNeedsDisplayInRect: method however the update will be asynchronous. While the next display update will most likely not contain the updated content, a future update will.

Topics

Visual Fade

+ fadeDuration

The time, in seconds, that newly added images take to "fade-in" to the rendered representation of the tiled layer.

Levels of detail

levelsOfDetail

The number of levels of detail maintained by this layer.

levelsOfDetailBias

The number of magnified levels of detail for this layer.

Layer tile size

tileSize

The maximum size of each tile used to create the layer's content.

Relationships

Inherits From

See Also

Advanced Layer Options

CAScrollLayer

A layer that displays scrollable content larger than its own bounds.

CATransformLayer

Objects used to create true 3D layer hierarchies, rather than the flattened hierarchy rendering model used by other CALayer classes.

CAReplicatorLayer

A layer that creates a specified number of sublayer copies with varying geometric, temporal, and color transformations.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software