Deprecated NSView Methods

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

Deprecated in OS X v10.8

performMnemonic:

Implemented by subclasses to respond to mnemonics. (Deprecated in OS X v10.8.)

- (BOOL)performMnemonic:(NSString *)aString
Parameters
aString

A string representing the mnemonic to handle.

Discussion

If the receiver’s mnemonic is the same as the characters of the string aString, the receiver 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 receiver’s subviews responds YES. Mnemonics are not supported in OS X.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.8.
Declared In
NSView.h