NSResponder
E900206
NSResponder is a fundamental Cocoa class that defines the event-handling and responder chain behavior for user interface objects in macOS applications.
Statements (65)
| Predicate | Object |
|---|---|
| instanceOf |
AppKit class
ⓘ
Cocoa class ⓘ Objective-C class ⓘ |
| availableIn | Swift via AppKit bridging ⓘ |
| conformsTo |
NSCoding
NERFINISHED
ⓘ
NSObject NERFINISHED ⓘ NSSecureCoding NERFINISHED ⓘ |
| definedIn | AppKit.framework NERFINISHED ⓘ |
| handles |
action messages
ⓘ
keyboard events ⓘ mouse events ⓘ touch events ⓘ |
| hasMethod |
-acceptsFirstResponder
ⓘ
-becomeFirstResponder ⓘ -doCommandBySelector: ⓘ -flagsChanged: ⓘ -interpretKeyEvents: ⓘ -keyDown: ⓘ -keyUp: ⓘ -mouseDown: ⓘ -mouseDragged: ⓘ -mouseMoved: ⓘ -mouseUp: ⓘ -nextResponder ⓘ -noResponderFor: ⓘ -otherMouseDown: ⓘ -otherMouseUp: ⓘ -performKeyEquivalent: ⓘ -resignFirstResponder ⓘ -rightMouseDown: ⓘ -rightMouseUp: ⓘ -scrollWheel: ⓘ -setNextResponder: ⓘ -touchesBeganWithEvent: ⓘ -touchesCancelledWithEvent: ⓘ -touchesEndedWithEvent: ⓘ -touchesMovedWithEvent: ⓘ -tryToPerform:with: ⓘ -undoManager ⓘ -validateUserInterfaceItem: ⓘ |
| hasProperty |
menu
ⓘ
nextResponder ⓘ undoManager ⓘ |
| headerFile | <AppKit/NSResponder.h> ⓘ |
| introducedBy | Apple Inc. NERFINISHED ⓘ |
| language | Objective-C NERFINISHED ⓘ |
| participatesIn | responder chain ⓘ |
| partOf |
AppKit framework
NERFINISHED
ⓘ
Cocoa NERFINISHED ⓘ |
| platform | macOS ⓘ |
| primaryRole |
event handling
ⓘ
responder chain participation ⓘ |
| superclassOf |
NSApplication
NERFINISHED
ⓘ
NSMenu NERFINISHED ⓘ NSMenuItem NERFINISHED ⓘ NSView NERFINISHED ⓘ NSViewController ⓘ NSWindow NERFINISHED ⓘ NSWindowController NERFINISHED ⓘ |
| supports |
first responder status
ⓘ
key event interpretation ⓘ menu item validation ⓘ undo management integration ⓘ |
| usedFor | user interface objects ⓘ |
| usedIn | macOS applications ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.