Contents

layer

The Core Animation layer that the view uses as its backing store.

Declaration

var layer: CALayer? { get set }

Discussion

Use this property to set or get the layer associated with the view, if any. When set, the layer serves as the backing store for the view’s contents.

See Also

Managing the View’s Layer