Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSResponderMBS class.

Previous items

NSResponderMBS.rightMouseDragged(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 right button pressed.

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

NSResponderMBS.rightMouseUp(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 the right mouse button.

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

NSResponderMBS.rotateWithEvent(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 rotation 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.scrollLineDown

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 receiver one line down in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollLineUp

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 receiver one line up in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollPageDown

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 receiver one page down in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollPageUp

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 receiver one page up in its scroll view, without changing the selection.

NSResponder declares but doesn't implement this method.

NSResponderMBS.scrollToBeginningOfDocument

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 scroll the receiver to the beginning of the document, without changing the selection.

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

NSResponderMBS.scrollToEndOfDocument

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 scroll the receiver to the end of the document, without changing the selection.

NSResponder declares but doesn't implement this method.

Available in Mac OS X v10.6 and later.

NSResponderMBS.scrollWheel(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's scroll wheel has moved.

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

NSResponderMBS.selectAll

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 select all selectable elements.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectLine

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 select all elements in the line or lines containing the selection or insertion point.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectParagraph

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 select all paragraphs containing the selection or insertion point.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectToMark

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 select all items from the insertion point or selection to a previously placed mark, including the selection itself if not empty.

NSResponder declares but doesn't implement this method.

NSResponderMBS.selectWord

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 extend the selection to the nearest word boundaries outside it (up to, but not including, word delimiters).

NSResponder declares but doesn't implement this method.

NSResponderMBS.setMark

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 set a mark at the insertion point or selection, which is used by deleteToMark and selectToMark.

NSResponder declares but doesn't implement this method.

NSResponderMBS.showContextHelp

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 invoke the help system, displaying information relevant to the receiver and its current state.

NSResponderMBS.showWritingTools   New in 24.5

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 24.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Shows writing tools.
Example
// e.g. in menu command
NSApplicationMBS.sharedApplication.showWritingTools

For Apple Intelligence.
Requires macOS 15.2 or iOS 18.2.

NSResponderMBS.swapWithMark

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Swaps the mark and the selection or insertion point, so that what was marked is now the selection or insertion point, and what was the insertion point or selection is now the mark.

NSResponder declares but doesn't implement this method.

NSResponderMBS.swipeWithEvent(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 rotation 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.tabletPoint(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 a tablet-point event has occurred.

Tablet events are represented by NSEvent objects of type NSTabletPoint. They describe the current state of a transducer (that is, a pointing device) that is in proximity to its tablet, reflecting changes such as location, pressure, tilt, and rotation. See the NSEvent reference for the methods that allow you to extract this and other information from theEvent. The default implementation of NSResponder passes the message to the next responder.
Available in Mac OS X v10.4 or later.

NSResponderMBS.tabletProximity(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 a tablet-proximity event has occurred.

Tablet events are represented by NSEvent objects of type NSTabletProximity. Tablet devices generate proximity events when the transducer (pointing device) nears a tablet and when it moves away from a tablet. From an event object of this type you can extract information about the kind of device and its capabilities, as well as the relation of this tablet-proximity event to various tablet-point events; see the NSEvent reference for details. The default implementation passes the message to the next responder.
Available in Mac OS X v10.4 or later.

NSResponderMBS.transpose

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Transposes the characters to either side of the insertion point and advances the insertion point past both of them. Does nothing to a selected range of text.

NSResponder declares but doesn't implement this method.

NSResponderMBS.transposeWords

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Transposes the words to either side of the insertion point and advances the insertion point past both of them. Does nothing to a selected range of text.

NSResponder declares but doesn't implement this method.

NSResponderMBS.undoManager as NSUndoManagerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The undo manager for this item.

Subclasses may implement this property.

NSResponderMBS.uppercaseWord

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 uppercase 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 uppercase. NSResponder declares but doesn't implement this method.

NSResponderMBS.yank

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa MBS MacBase Plugin 8.4 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Replaces the insertion point or selection with text from the kill buffer.

If invoked sequentially, cycles through the kill buffer in reverse order. See "Standard Action Methods for Selecting and Editing" for more information on the kill buffer. NSResponder declares but doesn't implement this method.

Previous items

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


The biggest plugin in space...