Contents

performMnemonic:

Implemented by subclasses to respond to mnemonics.

Declaration

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

Parameters

  • string:

    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 true. 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 false if none of the view’s subviews responds true. Mnemonics are not supported in macOS.

See Also

Related Documentation

Methods