Instance Property

isAsynchronous

Determines when the contents of the layer are updated.

Declaration

var isAsynchronous: Bool { get set }

Discussion

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