Protocol

CALayoutManager

Methods that allow an object to manage the layout of a layer and its sublayers.

Declaration

@protocol CALayoutManager

Topics

Managing Layout

- invalidateLayoutOfLayer:

Invalidates the layout of a layer so it knows to refresh its content on the next frame.

- layoutSublayersOfLayer:

Override to customize layout of sublayers whenever the layer needs redrawing.

- preferredSizeOfLayer:

Override to customize layer size.

Relationships

Inherits From

See Also

Layer Basics

CALayer

An object that manages image-based content and allows you to perform animations on that content.

CALayerDelegate

Methods your app can implement to respond to layer-related events.

CAConstraint

A representation of a single layout constraint between two layers.

CAConstraintLayoutManager

An object that provides a constraint-based layout manager.

CAAction

An interface that allows objects to respond to actions triggered by a CALayer change.