Deprecated NSClipView Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.9


Returns a scroll point adjusted from proposedNewOrigin, if necessary, to guarantee the receiver will still lie within its document view. (Deprecated in OS X v10.9.)

- (NSPoint)constrainScrollPoint:(NSPoint)proposedNewOrigin

For example, if proposedNewOrigin’s y coordinate lies to the left of the document view’s origin, then the y coordinate returned is set to that of the document view’s origin.

  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.9.
Declared In