Returns an initialized CALayer object.



Return Value

An initialized CALayer object.


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.

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