Displays the view and all its subviews if possible, invoking each of the NSView
methods lock
, draw
, and unlock
as necessary.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
- (void)display;
Discussion
If the view isn’t opaque, this method backs up the view hierarchy to the first opaque ancestor, calculates the portion of the opaque ancestor covered by the view, and begins displaying from there.