Drawing
Draw the content of custom views and update that content when the view’s size or appearance changes.
Topics
Drawing the View’s Content
updateLayer()draw(_:)clipsToBoundscanDrawConcurrentlyvisibleRectgetRectsBeingDrawn(_:count:)needsToDraw(_:)wantsDefaultClippingbitmapImageRepForCachingDisplay(in:)cacheDisplay(in:to:)NSBorderType
Drawing the View in Fullscreen Mode
enterFullScreenMode(_:withOptions:)exitFullScreenMode(options:)isInFullScreenModeNSView.FullScreenModeOptionKey
Invalidating the View’s Content
setNeedsDisplay(_:)needsDisplaydisplay()display(_:)displayIgnoringOpacity(_:)displayIgnoringOpacity(_:in:)displayIfNeeded()displayIfNeeded(_:)displayIfNeededIgnoringOpacity()displayIfNeededIgnoringOpacity(_:)translateRectsNeedingDisplay(in:by:)isOpaqueviewWillDraw()