Deprecated NSGraphicsContext Methods

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

Available in OS X v10.0 through OS X v10.5

focusStack

Returns the object used by the context to track the hierarchy of views with locked focus. (Available in OS X v10.0 through OS X v10.5.)

- (void *)focusStack
Return Value

The object used by the context to track the hierarchy of views with locked focus.

Discussion

You should never need to get or modify the focus stack information. The use of focus stacks may be deprecated in a future release.

Availability
  • Available in OS X v10.0 through OS X v10.5.
Declared In
NSGraphicsContext.h

setFocusStack:

Sets the object used by the receiver to track the hierarchy of views with locked focus. (Available in OS X v10.0 through OS X v10.5.)

- (void)setFocusStack:(void *)stack
Parameters
stack

The object used by the graphics context for view-hierarchy tracking.

Discussion

You should never need to get or modify the focus stack information. The use of focus stacks may be deprecated in a future release.

Availability
  • Available in OS X v10.0 through OS X v10.5.
Declared In
NSGraphicsContext.h