Instance Method

performMnemonic:

Implemented by subclasses to respond to mnemonics.

Declaration

- (BOOL)performMnemonic:(NSString *)string;

Parameters

aString

A string representing the mnemonic to handle.

Discussion

If the view’s mnemonic is the same as the characters of the string aString, the view should take the appropriate action and return YES. Otherwise, it should return the result of invoking super’s implementation. The default implementation of this method simply passes the message down the view hierarchy (from superviews to subviews) and returns NO if none of the view’s subviews responds YES. Mnemonics are not supported in macOS.

See Also

Deprecated Methods

- convertPointToBase:

Converts the point from the view’s coordinate system to the base coordinate system.

Deprecated
- convertPointFromBase:

Converts the point from the base coordinate system to the view’s coordinate system.

Deprecated
- convertSizeToBase:

Converts the size from the view’s coordinate system to the base coordinate system.

Deprecated
- convertSizeFromBase:

Converts the size from the base coordinate system to the view’s coordinate system.

Deprecated
- convertRectToBase:

Converts the rectangle from the view’s coordinate system to the base coordinate system.

Deprecated
- convertRectFromBase:

Converts the rectangle from the base coordinate system to the view’s coordinate system.

Deprecated
- shouldDrawColor

Returns a Boolean value indicating whether the view is being drawn to an environment that supports color.

Deprecated
- allocateGState

Causes the view to maintain a private graphics state object, which encapsulates all parameters of the graphics environment.

Deprecated
- gState

Returns the identifier for the view’s graphics state object, or 0 if the view doesn’t have a graphics state object.

Deprecated
- setUpGState

Overridden by subclasses to (re)initialize the view’s graphics state object.

Deprecated
- renewGState

Invalidates the view’s graphics state object, if it has one.

Deprecated
- releaseGState

Frees the view’s graphics state object, if it has one.

Deprecated
- dragImage:at:offset:event:pasteboard:source:slideBack:

Initiates a dragging operation from the view, allowing the user to drag arbitrary data with a specified icon into any application that has window or view objects that accept dragged data.

Deprecated