---
title: NSWindow
framework: appkit
role: symbol
role_heading: Class
path: appkit/nswindow
---

# NSWindow

A window that an app displays on the screen.

## Declaration

```swift
@MainActor class NSWindow
```

## Overview

Overview A single NSWindow object corresponds to, at most, one on-screen window. Windows perform two principal functions: To place views in a provided area To accept and distribute mouse and keyboard events the user generates to the appropriate views note: Although the NSWindow class inherits the NSCoding protocol from NSResponder, the class doesn’t support coding. Legacy support for archivers exists, but its use is deprecated and may not work. Any attempt to archive or unarchive a window object using a keyed coding object raises an invalidArgumentException exception. For details about window restoration, see restorationClass.

## Topics

### Creating a Window

- [init(contentViewController:)](appkit/nswindow/init(contentviewcontroller:).md)
- [init(contentRect:styleMask:backing:defer:)](appkit/nswindow/init(contentrect:stylemask:backing:defer:).md)
- [init(contentRect:styleMask:backing:defer:screen:)](appkit/nswindow/init(contentrect:stylemask:backing:defer:screen:).md)

### Managing the Window’s Behavior

- [delegate](appkit/nswindow/delegate.md)
- [NSWindowDelegate](appkit/nswindowdelegate.md)

### Configuring the Window’s Content

- [contentViewController](appkit/nswindow/contentviewcontroller.md)
- [contentView](appkit/nswindow/contentview.md)

### Configuring the Window’s Appearance

- [styleMask](appkit/nswindow/stylemask-swift.property.md)
- [NSWindow.StyleMask](appkit/nswindow/stylemask-swift.struct.md)
- [toggleFullScreen(_:)](appkit/nswindow/togglefullscreen(_:).md)
- [worksWhenModal](appkit/nswindow/workswhenmodal.md)
- [alphaValue](appkit/nswindow/alphavalue.md)
- [backgroundColor](appkit/nswindow/backgroundcolor.md)
- [colorSpace](appkit/nswindow/colorspace.md)
- [setDynamicDepthLimit(_:)](appkit/nswindow/setdynamicdepthlimit(_:).md)
- [canHide](appkit/nswindow/canhide.md)
- [isOnActiveSpace](appkit/nswindow/isonactivespace.md)
- [hidesOnDeactivate](appkit/nswindow/hidesondeactivate.md)
- [collectionBehavior](appkit/nswindow/collectionbehavior-swift.property.md)
- [isOpaque](appkit/nswindow/isopaque.md)
- [hasShadow](appkit/nswindow/hasshadow.md)
- [invalidateShadow()](appkit/nswindow/invalidateshadow().md)
- [autorecalculatesContentBorderThickness(for:)](appkit/nswindow/autorecalculatescontentborderthickness(for:).md)
- [setAutorecalculatesContentBorderThickness(_:for:)](appkit/nswindow/setautorecalculatescontentborderthickness(_:for:).md)
- [contentBorderThickness(for:)](appkit/nswindow/contentborderthickness(for:).md)
- [setContentBorderThickness(_:for:)](appkit/nswindow/setcontentborderthickness(_:for:).md)
- [preventsApplicationTerminationWhenModal](appkit/nswindow/preventsapplicationterminationwhenmodal.md)
- [appearanceSource](appkit/nswindow/appearancesource.md)

### Accessing Window Information

- [depthLimit](appkit/nswindow/depthlimit.md)
- [hasDynamicDepthLimit](appkit/nswindow/hasdynamicdepthlimit.md)
- [defaultDepthLimit](appkit/nswindow/defaultdepthlimit.md)
- [windowNumber](appkit/nswindow/windownumber.md)
- [windowNumbers(options:)](appkit/nswindow/windownumbers(options:).md)
- [deviceDescription](appkit/nswindow/devicedescription.md)
- [NSDeviceDescriptionKey](appkit/nsdevicedescriptionkey.md)
- [canBecomeVisibleWithoutLogin](appkit/nswindow/canbecomevisiblewithoutlogin.md)
- [sharingType](appkit/nswindow/sharingtype-swift.property.md)
- [backingType](appkit/nswindow/backingtype.md)
- [displayLink(target:selector:)](appkit/nswindow/displaylink(target:selector:).md)

### Getting Layout Information

- [contentRect(forFrameRect:styleMask:)](appkit/nswindow/contentrect(forframerect:stylemask:).md)
- [frameRect(forContentRect:styleMask:)](appkit/nswindow/framerect(forcontentrect:stylemask:).md)
- [minFrameWidth(withTitle:styleMask:)](appkit/nswindow/minframewidth(withtitle:stylemask:).md)
- [contentRect(forFrameRect:)](appkit/nswindow/contentrect(forframerect:).md)
- [frameRect(forContentRect:)](appkit/nswindow/framerect(forcontentrect:).md)

### Managing Windows

- [windowController](appkit/nswindow/windowcontroller.md)

### Managing Sheets

- [attachedSheet](appkit/nswindow/attachedsheet.md)
- [isSheet](appkit/nswindow/issheet.md)
- [beginSheet(_:completionHandler:)](appkit/nswindow/beginsheet(_:completionhandler:).md)
- [beginCriticalSheet(_:completionHandler:)](appkit/nswindow/begincriticalsheet(_:completionhandler:).md)
- [endSheet(_:)](appkit/nswindow/endsheet(_:)-4dmmq.md)
- [endSheet(_:returnCode:)](appkit/nswindow/endsheet(_:returncode:).md)
- [sheetParent](appkit/nswindow/sheetparent.md)
- [sheets](appkit/nswindow/sheets.md)

### Sizing Windows

- [frame](appkit/nswindow/frame.md)
- [setFrameOrigin(_:)](appkit/nswindow/setframeorigin(_:).md)
- [setFrameTopLeftPoint(_:)](appkit/nswindow/setframetopleftpoint(_:).md)
- [constrainFrameRect(_:to:)](appkit/nswindow/constrainframerect(_:to:).md)
- [cascadeTopLeft(from:)](appkit/nswindow/cascadetopleft(from:).md)
- [setFrame(_:display:)](appkit/nswindow/setframe(_:display:).md)
- [setFrame(_:display:animate:)](appkit/nswindow/setframe(_:display:animate:).md)
- [animationResizeTime(_:)](appkit/nswindow/animationresizetime(_:).md)
- [aspectRatio](appkit/nswindow/aspectratio.md)
- [minSize](appkit/nswindow/minsize.md)
- [maxSize](appkit/nswindow/maxsize.md)
- [isZoomed](appkit/nswindow/iszoomed.md)
- [performZoom(_:)](appkit/nswindow/performzoom(_:).md)
- [zoom(_:)](appkit/nswindow/zoom(_:).md)
- [resizeFlags](appkit/nswindow/resizeflags.md)
- [resizeIncrements](appkit/nswindow/resizeincrements.md)
- [preservesContentDuringLiveResize](appkit/nswindow/preservescontentduringliveresize.md)
- [inLiveResize](appkit/nswindow/inliveresize.md)

### Sizing Content

- [contentAspectRatio](appkit/nswindow/contentaspectratio.md)
- [contentMinSize](appkit/nswindow/contentminsize.md)
- [setContentSize(_:)](appkit/nswindow/setcontentsize(_:).md)
- [contentMaxSize](appkit/nswindow/contentmaxsize.md)
- [contentResizeIncrements](appkit/nswindow/contentresizeincrements.md)
- [contentLayoutGuide](appkit/nswindow/contentlayoutguide.md)
- [contentLayoutRect](appkit/nswindow/contentlayoutrect.md)
- [maxFullScreenContentSize](appkit/nswindow/maxfullscreencontentsize.md)
- [minFullScreenContentSize](appkit/nswindow/minfullscreencontentsize.md)

### Managing Window Layers

- [orderOut(_:)](appkit/nswindow/orderout(_:).md)
- [orderBack(_:)](appkit/nswindow/orderback(_:).md)
- [orderFront(_:)](appkit/nswindow/orderfront(_:).md)
- [orderFrontRegardless()](appkit/nswindow/orderfrontregardless().md)
- [order(_:relativeTo:)](appkit/nswindow/order(_:relativeto:).md)
- [level](appkit/nswindow/level-swift.property.md)
- [NSWindow.Level](appkit/nswindow/level-swift.struct.md)

### Managing Window Visibility and Occlusion State

- [isVisible](appkit/nswindow/isvisible.md)
- [occlusionState](appkit/nswindow/occlusionstate-swift.property.md)

### Managing Window Frames in User Defaults

- [removeFrame(usingName:)](appkit/nswindow/removeframe(usingname:).md)
- [setFrameUsingName(_:)](appkit/nswindow/setframeusingname(_:).md)
- [setFrameUsingName(_:force:)](appkit/nswindow/setframeusingname(_:force:).md)
- [saveFrame(usingName:)](appkit/nswindow/saveframe(usingname:).md)
- [setFrameAutosaveName(_:)](appkit/nswindow/setframeautosavename(_:).md)
- [frameAutosaveName](appkit/nswindow/frameautosavename-swift.property.md)
- [NSWindow.FrameAutosaveName](appkit/nswindow/frameautosavename-swift.typealias.md)
- [frameDescriptor](appkit/nswindow/framedescriptor.md)
- [setFrame(from:)](appkit/nswindow/setframe(from:).md)
- [NSWindow.PersistableFrameDescriptor](appkit/nswindow/persistableframedescriptor.md)

### Managing Key Status

- [isKeyWindow](appkit/nswindow/iskeywindow.md)
- [canBecomeKey](appkit/nswindow/canbecomekey.md)
- [makeKey()](appkit/nswindow/makekey().md)
- [makeKeyAndOrderFront(_:)](appkit/nswindow/makekeyandorderfront(_:).md)
- [becomeKey()](appkit/nswindow/becomekey().md)
- [resignKey()](appkit/nswindow/resignkey().md)

### Managing Main Status

- [isMainWindow](appkit/nswindow/ismainwindow.md)
- [canBecomeMain](appkit/nswindow/canbecomemain.md)
- [makeMain()](appkit/nswindow/makemain().md)
- [becomeMain()](appkit/nswindow/becomemain().md)
- [resignMain()](appkit/nswindow/resignmain().md)

### Managing Toolbars

- [toolbar](appkit/nswindow/toolbar.md)
- [toggleToolbarShown(_:)](appkit/nswindow/toggletoolbarshown(_:).md)
- [runToolbarCustomizationPalette(_:)](appkit/nswindow/runtoolbarcustomizationpalette(_:).md)

### Managing Attached Windows

- [childWindows](appkit/nswindow/childwindows.md)
- [addChildWindow(_:ordered:)](appkit/nswindow/addchildwindow(_:ordered:).md)
- [removeChildWindow(_:)](appkit/nswindow/removechildwindow(_:).md)
- [parent](appkit/nswindow/parent.md)

### Managing Default Buttons

- [defaultButtonCell](appkit/nswindow/defaultbuttoncell.md)
- [enableKeyEquivalentForDefaultButtonCell()](appkit/nswindow/enablekeyequivalentfordefaultbuttoncell().md)
- [disableKeyEquivalentForDefaultButtonCell()](appkit/nswindow/disablekeyequivalentfordefaultbuttoncell().md)

### Managing Field Editors

- [fieldEditor(_:for:)](appkit/nswindow/fieldeditor(_:for:).md)
- [endEditing(for:)](appkit/nswindow/endediting(for:).md)

### Managing the Window Menu

- [isExcludedFromWindowsMenu](appkit/nswindow/isexcludedfromwindowsmenu.md)

### Managing Cursor Rectangles

- [areCursorRectsEnabled](appkit/nswindow/arecursorrectsenabled.md)
- [enableCursorRects()](appkit/nswindow/enablecursorrects().md)
- [disableCursorRects()](appkit/nswindow/disablecursorrects().md)
- [discardCursorRects()](appkit/nswindow/discardcursorrects().md)
- [invalidateCursorRects(for:)](appkit/nswindow/invalidatecursorrects(for:).md)
- [resetCursorRects()](appkit/nswindow/resetcursorrects().md)

### Managing Title Bars

- [standardWindowButton(_:for:)](appkit/nswindow/standardwindowbutton(_:for:).md)
- [standardWindowButton(_:)](appkit/nswindow/standardwindowbutton(_:).md)
- [showsToolbarButton](appkit/nswindow/showstoolbarbutton.md)
- [titlebarAppearsTransparent](appkit/nswindow/titlebarappearstransparent.md)
- [toolbarStyle](appkit/nswindow/toolbarstyle-swift.property.md)
- [NSWindow.ToolbarStyle](appkit/nswindow/toolbarstyle-swift.enum.md)
- [titlebarSeparatorStyle](appkit/nswindow/titlebarseparatorstyle.md)
- [NSTitlebarSeparatorStyle](appkit/nstitlebarseparatorstyle.md)
- [windowTitlebarLayoutDirection](appkit/nswindow/windowtitlebarlayoutdirection.md)

### Managing Title Bar Accessories

- [addTitlebarAccessoryViewController(_:)](appkit/nswindow/addtitlebaraccessoryviewcontroller(_:).md)
- [insertTitlebarAccessoryViewController(_:at:)](appkit/nswindow/inserttitlebaraccessoryviewcontroller(_:at:).md)
- [removeTitlebarAccessoryViewController(at:)](appkit/nswindow/removetitlebaraccessoryviewcontroller(at:).md)
- [titlebarAccessoryViewControllers](appkit/nswindow/titlebaraccessoryviewcontrollers.md)

### Managing Window Tabs

- [allowsAutomaticWindowTabbing](appkit/nswindow/allowsautomaticwindowtabbing.md)
- [userTabbingPreference](appkit/nswindow/usertabbingpreference-swift.type.property.md)
- [tab](appkit/nswindow/tab.md)
- [tabbingIdentifier](appkit/nswindow/tabbingidentifier-swift.property.md)
- [NSWindow.TabbingIdentifier](appkit/nswindow/tabbingidentifier-swift.typealias.md)
- [addTabbedWindow(_:ordered:)](appkit/nswindow/addtabbedwindow(_:ordered:).md)
- [tabbingMode](appkit/nswindow/tabbingmode-swift.property.md)
- [tabbedWindows](appkit/nswindow/tabbedwindows.md)
- [mergeAllWindows(_:)](appkit/nswindow/mergeallwindows(_:).md)
- [selectNextTab(_:)](appkit/nswindow/selectnexttab(_:).md)
- [selectPreviousTab(_:)](appkit/nswindow/selectprevioustab(_:).md)
- [moveTabToNewWindow(_:)](appkit/nswindow/movetabtonewwindow(_:).md)
- [toggleTabBar(_:)](appkit/nswindow/toggletabbar(_:).md)
- [toggleTabOverview(_:)](appkit/nswindow/toggletaboverview(_:).md)
- [tabGroup](appkit/nswindow/tabgroup.md)

### Managing Tooltips

- [allowsToolTipsWhenApplicationIsInactive](appkit/nswindow/allowstooltipswhenapplicationisinactive.md)

### Handling Events

- [currentEvent](appkit/nswindow/currentevent.md)
- [nextEvent(matching:)](appkit/nswindow/nextevent(matching:).md)
- [nextEvent(matching:until:inMode:dequeue:)](appkit/nswindow/nextevent(matching:until:inmode:dequeue:).md)
- [discardEvents(matching:before:)](appkit/nswindow/discardevents(matching:before:).md)
- [postEvent(_:atStart:)](appkit/nswindow/postevent(_:atstart:).md)
- [sendEvent(_:)](appkit/nswindow/sendevent(_:).md)
- [tryToPerform(_:with:)](appkit/nswindow/trytoperform(_:with:).md)

### Managing Responders

- [initialFirstResponder](appkit/nswindow/initialfirstresponder.md)
- [firstResponder](appkit/nswindow/firstresponder.md)
- [makeFirstResponder(_:)](appkit/nswindow/makefirstresponder(_:).md)

### Managing the Key View Loop

- [selectKeyView(preceding:)](appkit/nswindow/selectkeyview(preceding:).md)
- [selectKeyView(following:)](appkit/nswindow/selectkeyview(following:).md)
- [selectPreviousKeyView(_:)](appkit/nswindow/selectpreviouskeyview(_:).md)
- [selectNextKeyView(_:)](appkit/nswindow/selectnextkeyview(_:).md)
- [keyViewSelectionDirection](appkit/nswindow/keyviewselectiondirection.md)
- [autorecalculatesKeyViewLoop](appkit/nswindow/autorecalculateskeyviewloop.md)
- [recalculateKeyViewLoop()](appkit/nswindow/recalculatekeyviewloop().md)

### Managing Window Sharing

- [transferWindowSharing(to:completionHandler:)](appkit/nswindow/transferwindowsharing(to:completionhandler:).md)
- [hasActiveWindowSharingSession](appkit/nswindow/hasactivewindowsharingsession.md)

### Handling Mouse Events

- [acceptsMouseMovedEvents](appkit/nswindow/acceptsmousemovedevents.md)
- [ignoresMouseEvents](appkit/nswindow/ignoresmouseevents.md)
- [mouseLocationOutsideOfEventStream](appkit/nswindow/mouselocationoutsideofeventstream.md)
- [windowNumber(at:belowWindowWithWindowNumber:)](appkit/nswindow/windownumber(at:belowwindowwithwindownumber:).md)
- [trackEvents(matching:timeout:mode:handler:)](appkit/nswindow/trackevents(matching:timeout:mode:handler:).md)
- [performDrag(with:)](appkit/nswindow/performdrag(with:).md)
- [foreverDuration](appkit/nsevent/foreverduration.md)

### Handling Window Restoration

- [isRestorable](appkit/nswindow/isrestorable.md)
- [restorationClass](appkit/nswindow/restorationclass.md)
- [disableSnapshotRestoration()](appkit/nswindow/disablesnapshotrestoration().md)
- [enableSnapshotRestoration()](appkit/nswindow/enablesnapshotrestoration().md)

### Drawing Windows

- [display()](appkit/nswindow/display().md)
- [displayIfNeeded()](appkit/nswindow/displayifneeded().md)
- [viewsNeedDisplay](appkit/nswindow/viewsneeddisplay.md)
- [allowsConcurrentViewDrawing](appkit/nswindow/allowsconcurrentviewdrawing.md)

### Window Animation

- [animationBehavior](appkit/nswindow/animationbehavior-swift.property.md)

### Updating Windows

- [disableScreenUpdatesUntilFlush()](appkit/nswindow/disablescreenupdatesuntilflush().md)
- [update()](appkit/nswindow/update().md)

### Dragging Items

- [drag(_:at:offset:event:pasteboard:source:slideBack:)](appkit/nswindow/drag(_:at:offset:event:pasteboard:source:slideback:).md)
- [registerForDraggedTypes(_:)](appkit/nswindow/registerfordraggedtypes(_:).md)
- [unregisterDraggedTypes()](appkit/nswindow/unregisterdraggedtypes().md)

### Accessing Edited Status

- [isDocumentEdited](appkit/nswindow/isdocumentedited.md)

### Converting Coordinates

- [backingScaleFactor](appkit/nswindow/backingscalefactor.md)
- [backingAlignedRect(_:options:)](appkit/nswindow/backingalignedrect(_:options:).md)
- [convertFromBacking(_:)](appkit/nswindow/convertfrombacking(_:).md)
- [convertFromScreen(_:)](appkit/nswindow/convertfromscreen(_:).md)
- [convertPointFromBacking(_:)](appkit/nswindow/convertpointfrombacking(_:).md)
- [convertPoint(fromScreen:)](appkit/nswindow/convertpoint(fromscreen:).md)
- [convertToBacking(_:)](appkit/nswindow/converttobacking(_:).md)
- [convertToScreen(_:)](appkit/nswindow/converttoscreen(_:).md)
- [convertPointToBacking(_:)](appkit/nswindow/convertpointtobacking(_:).md)
- [convertPoint(toScreen:)](appkit/nswindow/convertpoint(toscreen:).md)

### Managing Titles

- [title](appkit/nswindow/title.md)
- [subtitle](appkit/nswindow/subtitle.md)
- [titleVisibility](appkit/nswindow/titlevisibility-swift.property.md)
- [setTitleWithRepresentedFilename(_:)](appkit/nswindow/settitlewithrepresentedfilename(_:).md)
- [representedFilename](appkit/nswindow/representedfilename.md)
- [representedURL](appkit/nswindow/representedurl.md)

### Accessing Screen Information

- [screen](appkit/nswindow/screen.md)
- [deepestScreen](appkit/nswindow/deepestscreen.md)
- [displaysWhenScreenProfileChanges](appkit/nswindow/displayswhenscreenprofilechanges.md)

### Moving Windows

- [isMovableByWindowBackground](appkit/nswindow/ismovablebywindowbackground.md)
- [isMovable](appkit/nswindow/ismovable.md)
- [center()](appkit/nswindow/center().md)

### Closing Windows

- [performClose(_:)](appkit/nswindow/performclose(_:).md)
- [close()](appkit/nswindow/close().md)
- [isReleasedWhenClosed](appkit/nswindow/isreleasedwhenclosed.md)

### Minimizing Windows

- [isMiniaturized](appkit/nswindow/isminiaturized.md)
- [performMiniaturize(_:)](appkit/nswindow/performminiaturize(_:).md)
- [miniaturize(_:)](appkit/nswindow/miniaturize(_:).md)
- [deminiaturize(_:)](appkit/nswindow/deminiaturize(_:).md)
- [miniwindowImage](appkit/nswindow/miniwindowimage.md)
- [miniwindowTitle](appkit/nswindow/miniwindowtitle.md)

### Getting the Dock Tile

- [dockTile](appkit/nswindow/docktile.md)

### Printing Windows

- [printWindow(_:)](appkit/nswindow/printwindow(_:).md)
- [dataWithEPS(inside:)](appkit/nswindow/datawitheps(inside:).md)
- [dataWithPDF(inside:)](appkit/nswindow/datawithpdf(inside:).md)

### Providing Services

- [validRequestor(forSendType:returnType:)](appkit/nswindow/validrequestor(forsendtype:returntype:).md)

### Triggering Constraint-Based Layout

- [updateConstraintsIfNeeded()](appkit/nswindow/updateconstraintsifneeded().md)
- [layoutIfNeeded()](appkit/nswindow/layoutifneeded().md)

### Debugging Constraint-Based Layout

- [visualizeConstraints(_:)](appkit/nswindow/visualizeconstraints(_:).md)

### Constraint-Based Layouts

- [anchorAttribute(for:)](appkit/nswindow/anchorattribute(for:).md)
- [setAnchorAttribute(_:for:)](appkit/nswindow/setanchorattribute(_:for:).md)

### Working with Window Depths

- [bitsPerPixel](appkit/nswindow/depth/bitsperpixel.md)
- [bitsPerSample](appkit/nswindow/depth/bitspersample.md)
- [colorSpaceName](appkit/nswindow/depth/colorspacename.md)
- [numberOfColorComponents](appkit/nscolorspacename/numberofcolorcomponents.md)
- [isPlanar](appkit/nswindow/depth/isplanar.md)
- [canRepresent(_:)](appkit/nswindow/canrepresent(_:).md)

### Getting Information About Scripting Attributes

- [hasCloseBox](appkit/nswindow/hasclosebox.md)
- [hasTitleBar](appkit/nswindow/hastitlebar.md)
- [isModalPanel](appkit/nswindow/ismodalpanel.md)
- [isFloatingPanel](appkit/nswindow/isfloatingpanel.md)
- [isZoomable](appkit/nswindow/iszoomable.md)
- [isResizable](appkit/nswindow/isresizable.md)
- [isMiniaturizable](appkit/nswindow/isminiaturizable.md)
- [orderedIndex](appkit/nswindow/orderedindex.md)

### Setting Scripting Attributes

- [setIsMiniaturized(_:)](appkit/nswindow/setisminiaturized(_:).md)
- [setIsVisible(_:)](appkit/nswindow/setisvisible(_:).md)
- [setIsZoomed(_:)](appkit/nswindow/setiszoomed(_:).md)

### Handling Script Commands

- [handleClose(_:)](appkit/nswindow/handleclose(_:).md)
- [handlePrint(_:)](appkit/nswindow/handleprint(_:).md)
- [handleSave(_:)](appkit/nswindow/handlesave(_:).md)

### Constants

- [NSWindow.SelectionDirection](appkit/nswindow/selectiondirection.md)
- [NSWindow.ButtonType](appkit/nswindow/buttontype.md)
- [NSRunLoop—Ordering Modes for NSWindow](appkit/nsrunloop-ordering-modes-for-nsw.md)
- [NSWindow.Depth](appkit/nswindow/depth.md)
- [NSWindow.BackingStoreType](appkit/nswindow/backingstoretype.md)
- [NSWindow.OrderingMode](appkit/nswindow/orderingmode.md)
- [NSWindow.SharingType](appkit/nswindow/sharingtype-swift.enum.md)
- [NSWindow.NumberListOptions](appkit/nswindow/numberlistoptions.md)
- [NSWindow.AnimationBehavior](appkit/nswindow/animationbehavior-swift.enum.md)
- [NSWindow.CollectionBehavior](appkit/nswindow/collectionbehavior-swift.struct.md)
- [NSWindow.OcclusionState](appkit/nswindow/occlusionstate-swift.struct.md)
- [NSWindow.TitleVisibility](appkit/nswindow/titlevisibility-swift.enum.md)
- [NSWindow.UserTabbingPreference](appkit/nswindow/usertabbingpreference-swift.enum.md)
- [NSWindow.TabbingMode](appkit/nswindow/tabbingmode-swift.enum.md)
- [Application Kit Version for Deferred Window Display Support](appkit/application-kit-version-for-deferred-window-display-support.md)
- [Application Kit Version for Custom Sheet Position](appkit/application-kit-version-for-custom-sheet-position.md)
- [NSWindowDidChangeBackingPropertiesNotification User Info Properties](appkit/nswindowdidchangebackingpropertiesnotification-user-info-properties.md)

### Notifications

- [didBecomeKeyNotification](appkit/nswindow/didbecomekeynotification.md)
- [didBecomeMainNotification](appkit/nswindow/didbecomemainnotification.md)
- [didChangeScreenNotification](appkit/nswindow/didchangescreennotification.md)
- [didChangeScreenProfileNotification](appkit/nswindow/didchangescreenprofilenotification.md)
- [didDeminiaturizeNotification](appkit/nswindow/diddeminiaturizenotification.md)
- [didEndSheetNotification](appkit/nswindow/didendsheetnotification.md)
- [didEndLiveResizeNotification](appkit/nswindow/didendliveresizenotification.md)
- [didExposeNotification](appkit/nswindow/didexposenotification.md)
- [didMiniaturizeNotification](appkit/nswindow/didminiaturizenotification.md)
- [didMoveNotification](appkit/nswindow/didmovenotification.md)
- [didResignKeyNotification](appkit/nswindow/didresignkeynotification.md)
- [didResignMainNotification](appkit/nswindow/didresignmainnotification.md)
- [didResizeNotification](appkit/nswindow/didresizenotification.md)
- [didUpdateNotification](appkit/nswindow/didupdatenotification.md)
- [willBeginSheetNotification](appkit/nswindow/willbeginsheetnotification.md)
- [willCloseNotification](appkit/nswindow/willclosenotification.md)
- [willMiniaturizeNotification](appkit/nswindow/willminiaturizenotification.md)
- [willMoveNotification](appkit/nswindow/willmovenotification.md)
- [willStartLiveResizeNotification](appkit/nswindow/willstartliveresizenotification.md)
- [willEnterFullScreenNotification](appkit/nswindow/willenterfullscreennotification.md)
- [didEnterFullScreenNotification](appkit/nswindow/didenterfullscreennotification.md)
- [willExitFullScreenNotification](appkit/nswindow/willexitfullscreennotification.md)
- [didExitFullScreenNotification](appkit/nswindow/didexitfullscreennotification.md)
- [willEnterVersionBrowserNotification](appkit/nswindow/willenterversionbrowsernotification.md)
- [didEnterVersionBrowserNotification](appkit/nswindow/didenterversionbrowsernotification.md)
- [willExitVersionBrowserNotification](appkit/nswindow/willexitversionbrowsernotification.md)
- [didExitVersionBrowserNotification](appkit/nswindow/didexitversionbrowsernotification.md)
- [didChangeBackingPropertiesNotification](appkit/nswindow/didchangebackingpropertiesnotification.md)
- [didChangeOcclusionStateNotification](appkit/nswindow/didchangeocclusionstatenotification.md)

### Deprecated

- [Deprecated Symbols](appkit/nswindow-deprecated-symbols.md)

### Classes

- [NSWindow.HostingSheetRepresentation](appkit/nswindow/hostingsheetrepresentation.md)

### Structures

- [NSWindow.DidBecomeKeyMessage](appkit/nswindow/didbecomekeymessage.md)
- [NSWindow.DidBecomeMainMessage](appkit/nswindow/didbecomemainmessage.md)
- [NSWindow.DidChangeBackingPropertiesMessage](appkit/nswindow/didchangebackingpropertiesmessage.md)
- [NSWindow.DidChangeOcclusionStateMessage](appkit/nswindow/didchangeocclusionstatemessage.md)
- [NSWindow.DidChangeScreenMessage](appkit/nswindow/didchangescreenmessage.md)
- [NSWindow.DidChangeScreenProfileMessage](appkit/nswindow/didchangescreenprofilemessage.md)
- [NSWindow.DidDeminiaturizeMessage](appkit/nswindow/diddeminiaturizemessage.md)
- [NSWindow.DidEndLiveResizeMessage](appkit/nswindow/didendliveresizemessage.md)
- [NSWindow.DidEndSheetMessage](appkit/nswindow/didendsheetmessage.md)
- [NSWindow.DidEnterFullScreenMessage](appkit/nswindow/didenterfullscreenmessage.md)
- [NSWindow.DidEnterVersionBrowserMessage](appkit/nswindow/didenterversionbrowsermessage.md)
- [NSWindow.DidExitFullScreenMessage](appkit/nswindow/didexitfullscreenmessage.md)
- [NSWindow.DidExitVersionBrowserMessage](appkit/nswindow/didexitversionbrowsermessage.md)
- [NSWindow.DidExposeMessage](appkit/nswindow/didexposemessage.md)
- [NSWindow.DidMiniaturizeMessage](appkit/nswindow/didminiaturizemessage.md)
- [NSWindow.DidMoveMessage](appkit/nswindow/didmovemessage.md)
- [NSWindow.DidResignKeyMessage](appkit/nswindow/didresignkeymessage.md)
- [NSWindow.DidResignMainMessage](appkit/nswindow/didresignmainmessage.md)
- [NSWindow.DidResizeMessage](appkit/nswindow/didresizemessage.md)
- [NSWindow.DidUpdateMessage](appkit/nswindow/didupdatemessage.md)
- [NSWindow.WillBeginSheetMessage](appkit/nswindow/willbeginsheetmessage.md)
- [NSWindow.WillCloseMessage](appkit/nswindow/willclosemessage.md)
- [NSWindow.WillEnterFullScreenMessage](appkit/nswindow/willenterfullscreenmessage.md)
- [NSWindow.WillEnterVersionBrowserMessage](appkit/nswindow/willenterversionbrowsermessage.md)
- [NSWindow.WillExitFullScreenMessage](appkit/nswindow/willexitfullscreenmessage.md)
- [NSWindow.WillExitVersionBrowserMessage](appkit/nswindow/willexitversionbrowsermessage.md)
- [NSWindow.WillMiniaturizeMessage](appkit/nswindow/willminiaturizemessage.md)
- [NSWindow.WillMoveMessage](appkit/nswindow/willmovemessage.md)
- [NSWindow.WillStartLiveResizeMessage](appkit/nswindow/willstartliveresizemessage.md)

### Instance Properties

- [cascadingReferenceFrame](appkit/nswindow/cascadingreferenceframe.md)

### Instance Methods

- [beginDraggingSession(items:event:source:)](appkit/nswindow/begindraggingsession(items:event:source:).md)
- [beginSheet(content:completionHandler:)](appkit/nswindow/beginsheet(content:completionhandler:).md)
- [endSheet(_:)](appkit/nswindow/endsheet(_:)-6af2u.md)
- [requestSharingOfWindow(_:completionHandler:)](appkit/nswindow/requestsharingofwindow(_:completionhandler:).md)
- [requestSharingOfWindow(usingPreview:title:completionHandler:)](appkit/nswindow/requestsharingofwindow(usingpreview:title:completionhandler:).md)

## Relationships

### Inherits From

- [NSResponder](appkit/nsresponder.md)

### Inherited By

- [NSPanel](appkit/nspanel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSAccessibilityElementProtocol](appkit/nsaccessibilityelementprotocol.md)
- [NSAccessibilityProtocol](appkit/nsaccessibilityprotocol.md)
- [NSAnimatablePropertyContainer](appkit/nsanimatablepropertycontainer.md)
- [NSAppearanceCustomization](appkit/nsappearancecustomization.md)
- [NSCoding](foundation/nscoding.md)
- [NSMenuItemValidation](appkit/nsmenuitemvalidation.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSStandardKeyBindingResponding](appkit/nsstandardkeybindingresponding.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [NSUserActivityRestoring](appkit/nsuseractivityrestoring.md)
- [NSUserInterfaceItemIdentification](appkit/nsuserinterfaceitemidentification.md)
- [NSUserInterfaceValidations](appkit/nsuserinterfacevalidations.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Windows

- [NSPanel](appkit/nspanel.md)
- [NSWindowDelegate](appkit/nswindowdelegate.md)
- [NSWindowTab](appkit/nswindowtab.md)
- [NSWindowTabGroup](appkit/nswindowtabgroup.md)
