Instance Property


Determines when the contents of the layer are updated.


var isAsynchronous: Bool { get set }


If false, the contents of the layer are updated only in response to receiving a setNeedsDisplay() message. When true, the receiver’s canDraw(inCGLContext:pixelFormat:forLayerTime:displayTime:) is called periodically to determine if the OpenGL content should be updated.

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