Deprecated NSView Methods

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

Deprecated in OS X v10.8


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

- (BOOL)performMnemonic:(NSString *)aString

A string representing the mnemonic to handle.


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.

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