Instance Property

layer

The view’s Core Animation layer used for rendering.

Declaration

var layer: CALayer { get }

Discussion

This property is never nil. The actual class of the object is determined by the value returned in the layerClass property. The view is the layer’s delegate.

See Also

Related Symbols

class var layerClass: AnyClass

Returns the class used to create the layer for instances of this class.