NSView.LayerContentsRedrawPolicy.onSetNeedsDisplay
Any of the setNeedsDisplay methods sent to the view will cause the view redraw the affected layer parts by invoking the view’s Draw(_:), but neither the layer or the view are marked as needing display when the view’s size changes.
Declaration
case onSetNeedsDisplay