Instance Method

view

Returns the receiver’s view.

Declaration

macOS
- (void)setView:(NSView *)view;
macOS
@property(weak) NSView *view;

Return Value

The view, or nil if the receiver has no drawable object, is in full-screen mode, or is in offscreen mode.

See Also

Drawable Object Management

- setFullScreen

Sets the receiver to full-screen mode.

Deprecated
- setOffScreen:width:height:rowbytes:

Instructs the receiver to render into an offscreen buffer with the specified attributes.

Deprecated
- clearDrawable

Disassociates the receiver from its viewport.

Deprecated
- update

Updates the receiver's drawable object.

Deprecated