Looks for a cell that has the given key equivalent and, if found, makes that cell respond as if clicked.
- macOS 10.0+
The event containing the character for which to find a key equivalent.
true if a cell in the receiver responds to the key equivalent in
false if no cell responds.
If there’s a cell in the receiver that has a key equivalent equal to the character in [
characters] (taking into account any key modifier flags) and that cell is enabled, that cell is made to react as if the user had clicked it: by highlighting, changing its state as appropriate, sending its action if it has one, and then unhighlighting.
Your code should never send this message—it is sent when the receiver or one of its superviews is the first responder and the user presses a key. You may want to override this method to change the way key equivalents are performed or displayed or to disable them in your subclass.