Instance Method

setConstrainedFrameSize:

Attempts to set the frame size as if by user action.

Declaration

- (void)setConstrainedFrameSize:(NSSize)desiredSize;

Parameters

desiredSize

The new desired size.

Discussion

This method respects the receiver’s existing minimum and maximum sizes and by whether resizing is permitted.

See Also

Controlling Display

- setNeedsDisplayInRect:avoidAdditionalLayout:

Marks the receiver as requiring display.

shouldDrawInsertionPoint

A Boolean value that determines whether the receiver should draw its insertion point.

- drawInsertionPointInRect:color:turnedOn:

Draws or erases the insertion point.

- drawViewBackgroundInRect:

Draws the background of the text view.

- cleanUpAfterDragOperation

Releases the drag information still existing after the dragging session has completed.

- showFindIndicatorForRange:

Causes a temporary highlighting effect to appear around the visible portion (or portions) of the specified range.