NSWindow
E900205
NSWindow is a fundamental Cocoa class in macOS that manages and displays a window’s content, appearance, and event handling in graphical applications.
Statements (99)
| Predicate | Object |
|---|---|
| instanceOf |
AppKit class
ⓘ
Cocoa class ⓘ Objective-C class ⓘ |
| conformsTo |
NSAccessibility
NERFINISHED
ⓘ
NSAccessibilityElement NERFINISHED ⓘ NSAnimatablePropertyContainer NERFINISHED ⓘ NSCoding NERFINISHED ⓘ NSUserInterfaceValidations NERFINISHED ⓘ |
| definedInFramework | AppKit NERFINISHED ⓘ |
| definedInModule | AppKit NERFINISHED ⓘ |
| delegateCanReceive |
windowDidEndSheet:
ⓘ
windowDidMove: ⓘ windowDidResize: ⓘ windowShouldClose: ⓘ windowWillBeginSheet: ⓘ windowWillClose: ⓘ |
| delegateProtocol | NSWindowDelegate NERFINISHED ⓘ |
| hasInitializer |
initWithContentRect:styleMask:backing:defer:
ⓘ
initWithContentRect:styleMask:backing:defer:screen: ⓘ |
| hasMethod |
beginSheet:completionHandler:
ⓘ
center ⓘ close ⓘ endSheet: ⓘ frameAutosaveName ⓘ makeFirstResponder: ⓘ makeKeyAndOrderFront: ⓘ orderFront: ⓘ orderOut: ⓘ setAlphaValue: ⓘ setBackgroundColor: ⓘ setCollectionBehavior: ⓘ setContentView: ⓘ setContentViewController: ⓘ setDelegate: ⓘ setFrame:display: ⓘ setFrame:display:animate: ⓘ setFrameAutosaveName: ⓘ setHasShadow: ⓘ setLevel: ⓘ setMovable: ⓘ setMovableByWindowBackground: ⓘ setOpaque: ⓘ setTitle: ⓘ setTitleVisibility: ⓘ setTitlebarAppearsTransparent: ⓘ setToolbar: ⓘ toggleFullScreen: ⓘ |
| hasProperty |
alphaValue
ⓘ
backgroundColor ⓘ contentViewController ⓘ delegate ⓘ frame ⓘ hasShadow ⓘ isKeyWindow ⓘ isMainWindow ⓘ isMovable ⓘ isOpaque ⓘ isReleasedWhenClosed (legacy) ⓘ isResizable ⓘ isVisible ⓘ level ⓘ styleMask ⓘ title ⓘ |
| inheritsFrom | NSResponder NERFINISHED ⓘ |
| lifecycleEvent |
becomeKeyWindow
ⓘ
becomeMainWindow ⓘ resignKeyWindow ⓘ resignMainWindow ⓘ windowDidLoad (via controller) ⓘ |
| manages |
contentView
ⓘ
first responder chain for the window ⓘ title bar ⓘ toolbar ⓘ window buttons ⓘ |
| platform | macOS ⓘ |
| primaryResponsibility |
handling window-related events
ⓘ
managing window appearance ⓘ managing window content ⓘ |
| relatedConcept |
NSAlert
NERFINISHED
ⓘ
NSApplication NERFINISHED ⓘ NSDocument NERFINISHED ⓘ NSPanel NERFINISHED ⓘ NSView NERFINISHED ⓘ NSWindowController NERFINISHED ⓘ |
| roleInCocoa | top-level window object ⓘ |
| supports |
constraining to screen
ⓘ
dragging by title bar ⓘ full-screen mode ⓘ key window status ⓘ main window status ⓘ modal sessions ⓘ sheet windows ⓘ titlebar accessory views ⓘ toolbar integration ⓘ vibrant appearance ⓘ window animations ⓘ |
| usedFor | displaying application user interfaces ⓘ |
| usedIn |
AppKit-based macOS applications
ⓘ
Cocoa applications ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.