Initializer

init()

Returns an initialized CALayer object.

Declaration

init()

Return Value

An initialized CALayer object.

Discussion

This is the designated initializer for layer objects that are not in the presentation layer.

See Also

Creating a Layer

init(layer: Any)

Override to copy or initialize custom fields of the specified layer.

init(remoteClientId: UInt32)

Initializes a layer with a remote client ID.