keyEquivalentRect(forBounds:)
Returns the rectangle into which the menu item’s key equivalent should be drawn.
Declaration
func keyEquivalentRect(forBounds cellFrame: NSRect) -> NSRectParameters
- cellFrame:
A rectangle that defines the bounds of the receiver.
Return Value
The returned rectangle is based on cellFrame but encompasses only the area to be occupied by the key equivalent.