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.