Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSResponderMBS class.

Next items

NSResponderMBS.beginGestureWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has begun a touch gesture.

The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.

NSResponderMBS.cancelOperation

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to cancel the current operation.

This method is bound to the Escape and Command-. (period) keys. The key window first searches the view hierarchy for a view whose key equivalent is Escape or Command-., whichever was entered. If none of these views handles the key equivalent, the window sends a default action message of cancelOperation: to the first responder and from there the message travels up the responder chain.

If no responder in the responder chain implements cancelOperation:, the key window searches the view hierarchy for a view whose key equivalent is Escape (note that this may be redundant if the original key equivalent was Escape). If no such responder is found, then a cancel: action message is sent to the first responder in the responder chain that implements it.

NSResponder declares but does not implement this method.

NSResponderMBS.capitalizeWord

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to capitalize the word or words surrounding the insertion point or selection, expanding the selection if necessary.

If either end of the selection partially covers a word, that entire word is made lowercase. The sender argument is typically the object that invoked this method. NSResponder declares but doesn't implement this method.

NSResponderMBS.centerSelectionInVisibleArea

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to scroll the selection, whatever it is, inside its visible area.

NSResponder declares but doesn't implement this method.

NSResponderMBS.changeCaseOfLetter

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to change the case of a letter or letters in the selection, perhaps by opening a panel with capitalization options or by cycling through possible case combinations.

NSResponder declares but doesn't implement this method.

NSResponderMBS.complete

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to complete an operation in progress or a partially constructed element.

This method can be interpreted, for example, as a request to attempt expansion of a partial word, such as for expanding a glossary shortcut, or to close a graphics item being drawn. NSResponder declares but doesn't implement this method.

NSResponderMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 13.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The private constructor.

NSResponderMBS.cursorUpdate(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the mouse cursor has moved into a cursor rectangle.

Override this method to set the cursor image. The default implementation uses cursor rectangles, if cursor rectangles are currently valid. If they are not, it calls super to send the message up the responder chain.

If the responder implements this method, but decides not to handle a particular event, it should invoke the superclass implementation of this method.
Available in Mac OS X v10.5 and later.

NSResponderMBS.deleteBackward

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or a single element backward from the insertion point (a letter or character in text, for example).

NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteBackwardByDecomposingPreviousCharacter

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or a single character backward from the insertion point.

If the previous character is canonically decomposable, this method should try to delete only the last character in the grapheme cluster (for example, deleting "a"+ "'" results in "a"). NSResponder declares but does not implement this method.

NSResponderMBS.deleteForward

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or a single element forward from the insertion point (a letter or character in text, for example).

NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteToBeginningOfLine

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or all text from the insertion point to the beginning of a line (typically of text).

Also places the deleted text into the kill buffer. NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteToBeginningOfParagraph

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or all text from the insertion point to the beginning of a paragraph of text.

Also places the deleted text into the kill buffer. NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteToEndOfLine

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or all text from the insertion point to the end of a line (typically of text).

Also places the deleted text into the kill buffer. NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteToEndOfParagraph

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or all text from the insertion point to the end of a paragraph of text.

Also places the deleted text into the kill buffer. NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteToMark

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or all items from the insertion point to a previously placed mark, including the selection itself if not empty.

Also places the deleted text into the kill buffer. NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteWordBackward

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or a single word backward from the insertion point.

NSResponder declares but doesn't implement this method.

NSResponderMBS.deleteWordForward

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to delete the selection, if there is one, or a single word forward from the insertion point.

NSResponder declares but doesn't implement this method.

NSResponderMBS.endGestureWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has ended a touch gesture.

Available in Mac OS X v10.6 and later.

NSResponderMBS.flagsChanged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).

The default implementation simply passes this message to the next responder.

NSResponderMBS.flushBufferedKeyEvents

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Overridden by subclasses to clear any unprocessed key events.

NSResponderMBS.helpRequested(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Displays context-sensitive help for the receiver if such exists; otherwise passes this message to the next responder.

NSWindow invokes this method automatically when the user clicks for help—while processing theEvent. Subclasses need not override this method, and application code shouldn't directly invoke it.

NSResponderMBS.indent

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to indent the selection or the insertion point if there is no selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.insertBacktab

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to handle a backward tab.

A field editor might respond to this method by selecting the field before it, while a regular text object either doesn't respond to or ignores such a message. NSResponder declares but doesn't implement this method.

NSResponderMBS.insertContainerBreak

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a container break (typically a page break) at the insertion point or selection, deleting the selection if there is one.

NSResponder declares but doesn't implement this method. NSTextView implements it to insert an NSFormFeedCharacter character (0x000c).

NSResponderMBS.insertDoubleQuoteIgnoringSubstitution

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a double quote character at the insertion point without interference by automatic quote correction.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.insertLineBreak

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a line break (as distinguished from a paragraph break) at the insertion point or selection, deleting the selection if there is one.

NSResponder declares but doesn't implement this method. NSTextView implements it to insert an NSLineSeparatorCharacter character (0x2028).

NSResponderMBS.insertNewline

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a newline character at the insertion point or selection, deleting the selection if there is one, or to end editing if the receiver is a text field or other field editor.

NSResponder declares but doesn't implement this method.

NSResponderMBS.insertNewlineIgnoringFieldEditor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a line-break character at the insertion point or selection, deleting the selection if there is one.

Unlike insertNewline:, this method always inserts a line-break character and doesn't cause the receiver to end editing. NSResponder declares but doesn't implement this method.

NSResponderMBS.insertParagraphSeparator

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a paragraph separator at the insertion point or selection, deleting the selection if there is one.

NSResponder declares but doesn't implement this method.

NSResponderMBS.insertSingleQuoteIgnoringSubstitution

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a single quote character at the insertion point without interference by automatic quote correction.

NSResponder declares but doesn't implement this method.
Available in Mac OS X v10.6 and later.

NSResponderMBS.insertTab

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a tab character at the insertion point or selection, deleting the selection if there is one, or to end editing if the receiver is a text field or other field editor.

NSResponder declares but doesn't implement this method.

NSResponderMBS.insertTabIgnoringFieldEditor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to insert a tab character at the insertion point or selection, deleting the selection if there is one.

Unlike insertTab:, this method always inserts a tab character and doesn't cause the receiver to end editing. NSResponder declares but doesn't implement this method.

NSResponderMBS.keyDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed a key.

The receiver can interpret theEvent itself, or pass it to the system input manager using interpretKeyEvents. The default implementation simply passes this message to the next responder.

NSResponderMBS.keyUp(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has released a key.

The default implementation simply passes this message to the next responder.

NSResponderMBS.lowercaseWord

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Implemented by subclasses to make lowercase every letter in the word or words surrounding the insertion point or selection, expanding the selection if necessary.

If either end of the selection partially covers a word, that entire word is made lowercase. NSResponder declares, but doesn't implement this method.

NSResponderMBS.magnifyWithEvent(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has begun a pinch gesture.

The event will be sent to the view under the touch in the key window.
Available in Mac OS X v10.6 and later.

NSResponderMBS.makeBaseWritingDirectionLeftToRight

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the paragraph base writing direction to be left to right.

Sets the NSAttributedString key NSWritingDirectionAttributeName to NSWritingDirectionLeftToRight.

This action method is intended to be used both as the target of a menu item and for key bindings. The base writing direction methods should be the target of three menu items in a submenu, under the Edit menu.

Default key bindings will also be provided for this method but will only be enabled for users of Hebrew or Arabic, or those who have otherwise enabled a suitable preference.

Available in Mac OS X v10.6 and later.

NSResponderMBS.makeBaseWritingDirectionNatural

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the paragraph base writing direction to be natural.

Natural directionality is determined from the text in accordance with the Unicode bi-di algorithm. For more information see NSParagraphStyle.

Sets the NSAttributedStringkey NSWritingDirectionAttributeName to NSTextWritingDirectionEmbedding.

This action method is intended to be used both as the target of a menu item and for key bindings. The base writing direction methods should be the target of three menu items in a submenu, under the Edit menu.

Default key bindings will also be provided for this method but will only be enabled for users of Hebrew or Arabic, or those who have otherwise enabled a suitable preference.

Available in Mac OS X v10.6 and later.

NSResponderMBS.makeBaseWritingDirectionRightToLeft

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the paragraph base writing direction to be right to left.

Sets the NSAttributedString key NSWritingDirectionAttributeName to NSWritingDirectionRightToLeft.

This action method is intended to be used both as the target of a menu item and for key bindings. The base writing direction methods should be the target of three menu items in a submenu, under the Edit menu.

Default key bindings will also be provided for this method but will only be enabled for users of Hebrew or Arabic, or those who have otherwise enabled a suitable preference.

Available in Mac OS X v10.6 and later.

NSResponderMBS.makeTextWritingDirectionLeftToRight

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the character level attributed string direction attribute for left to right text.

Sets the NSAttributedString NSWritingDirectionAttributeName to NSWritingDirectionLeftToRight.

This action method is intended to be used both as the target of a menu item and for key bindings. The text writing directions should be the target of three similar menu items in a submenu under the Edit menu.

Default key bindings will also be provided for this method but will only be enabled for users of Hebrew or Arabic, or those who have otherwise enabled a suitable preference.

Available in Mac OS X v10.6 and later.

NSResponderMBS.makeTextWritingDirectionNatural

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Removes the character-level writing direction attribute.

Removes the NSWritingDirectionAttributeName from an NSAttributedString.

This action method is intended to be used both as the target of a menu item and for key bindings. The text writing directions should be the target of three similar menu items in a submenu under the Edit menu.

Default key bindings will also be provided for this method but will only be enabled for users of Hebrew or Arabic, or those who have otherwise enabled a suitable preference.

Available in Mac OS X v10.6 and later.

NSResponderMBS.makeTextWritingDirectionRightToLeft

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Sets the character-level writing direction attribute to a single right-to-left embedding.

Sets the NSAttributedString key NSWritingDirectionAttributeName to NSWritingDirectionRightToLeft.

This action method is intended to be used both as the target of a menu item and for key bindings. The text writing directions should be the target of three similar menu items in a submenu under the Edit menu.

Default key bindings will also be provided for this method but will only be enabled for users of Hebrew or Arabic, or those who have otherwise enabled a suitable preference.

Available in Mac OS X v10.6 and later.

NSResponderMBS.menu as NSMenuMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The receiver's menu.

(On useful for NSApplication class on Mac)
(Read and Write computed property)

NSResponderMBS.mouseDown(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has pressed the left mouse button.

The default implementation simply passes this message to the next responder.

NSResponderMBS.mouseDragged(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the user has moved the mouse with the left button pressed.

The default implementation simply passes this message to the next responder.

NSResponderMBS.mouseEntered(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the cursor has entered a tracking rectangle.

The default implementation simply passes this message to the next responder.
Available in Mac OS X v10.0 and later.

NSResponderMBS.mouseExited(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the cursor has exited a tracking rectangle.

The default implementation simply passes this message to the next responder.

NSResponderMBS.mouseMoved(e as NSEventMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Informs the receiver that the mouse has moved.

The default implementation simply passes this message to the next responder.

Next items

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...