Creates a titled window that contains the specified content view controller.
Initializes the window with the specified values.
Initializes an allocated window with the specified values.
The window’s delegate.
The main content view controller for the window.
Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode.
Sets the flags that describe the window’s current style, such as if it’s resizable or in full-screen mode.
Read more
Takes the window into or out of fullscreen mode,
A Boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally.
The window’s alpha value.
The color of the window’s background.
Sets the color of the window’s background.
Read more
The window’s color space.
Sets a Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on.
A Boolean value that indicates whether the window can hide when its application becomes hidden.
Sets a Boolean value that indicates whether the window can hide when its application becomes hidden.
Read more
A Boolean value that indicates whether the window is on the currently active space.
A Boolean value that indicates whether the window is removed from the screen when its application becomes inactive.
Sets a Boolean value that indicates whether the window is removed from the screen when its application becomes inactive.
Read more
A value that identifies the window’s behavior in window collections.
A Boolean value that indicates whether the window is opaque.
Sets a Boolean value that indicates whether the window is opaque.
Read more
A Boolean value that indicates whether the window has a shadow.
Sets a Boolean value that indicates whether the window has a shadow.
Read more
Invalidates the window shadow so that it is recomputed based on the current window shape.
Indicates whether the window calculates the thickness of a given border automatically.
Specifies whether the window calculates the thickness of a given border automatically.
Read more
Indicates the thickness of a given border of the window.
Read more
Specifies the thickness of a given border of the window.
Read more
A Boolean value that indicates whether the window prevents application termination when modal.
An object that the window inherits its appearance from.
The depth limit of the window.
Sets the depth limit of the window.
Read more
A Boolean value that indicates whether the window’s depth limit can change to match the depth of the screen it’s on.
Returns the default depth limit for instances of NSWindow.
The window number of the window’s window device.
Returns the window numbers for all visible windows satisfying the specified options.
A dictionary containing information about the window’s resolution, such as color, depth, and so on.
A Boolean value that indicates whether the window can be displayed at the login window.
A Boolean value that indicates the level of access other processes have to the window’s content.
The window’s backing store type.
Returns the content rectangle used by a window with a given frame rectangle and window style.
Read more
Returns the frame rectangle used by a window with a given content rectangle and window style.
Read more
Returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style.
Read more
Returns the window’s content rectangle with a given frame rectangle.
Read more
Returns the window’s frame rectangle with a given content rectangle.
The sheet attached to the window.
The sheet attached to the window.
Starts a document-modal session and presents—or queues for presentation—a sheet.
Read more
Starts a document-modal session and presents the specified critical sheet.
Read more
Ends a document-modal session and dismisses the specified sheet.
Read more
Ends a document-modal session and dismisses the specified sheet.
Read more
The window to which the sheet is attached.
An array of the sheets currently attached to the window.
The window’s frame rectangle in screen coordinates, including the title bar.
Positions the bottom-left corner of the window’s frame rectangle at a given point in screen coordinates.
Read more
Positions the top-left corner of the window’s frame rectangle at a given point in screen coordinates.
Read more
Modifies and returns a frame rectangle so that its top edge lies on a specific screen.
Read more
Positions the window’s top-left to a given point.
Read more
Sets the origin and size of the window’s frame rectangle according to a given frame rectangle, thereby setting its position and size onscreen.
Read more
Sets the origin and size of the window’s frame rectangle, with optional animation, according to a given frame rectangle, thereby setting its position and size onscreen.
Read more
Specifies the duration of a smooth frame-size change.
The window’s aspect ratio, which constrains the size of its frame rectangle to integral multiples of this ratio when the user resizes it.
The minimum size to which the window’s frame (including its title bar) can be sized.
Sets the minimum size to which the window’s frame (including its title bar) can be sized.
Read more
The maximum size to which the window’s frame (including its title bar) can be sized.
Sets the maximum size to which the window’s frame (including its title bar) can be sized.
Read more
A Boolean value that indicates whether the window is in a zoomed state.
This action method simulates the user clicking the zoom box by momentarily highlighting the button and then zooming the window.
Toggles the size and location of the window between its standard state (which the application provides as the best size to display the window’s data) and its user state (a new size and location the user may have set by moving or resizing the window).
The window’s resizing increments.
Sets the window’s resizing increments.
Read more
A Boolean value that indicates whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed.
Sets whether the window tries to optimize user-initiated resize operations by preserving the content of views that have not changed.
Read more
A Boolean value that indicates whether the window is being resized by the user.
Sets a Boolean value that indicates whether the window is being resized by the user.
Read more
The window’s content aspect ratio.
Sets the window’s content aspect ratio.
Read more
The minimum size of the window’s content view in the window’s base coordinate system.
Sets the minimum size of the window’s content view in the window’s base coordinate system.
Read more
Sets the size of the window’s content view to a given size, which is expressed in the window’s base coordinate system.
Read more
The maximum size of the window’s content view in the window’s base coordinate system.
Sets the maximum size of the window’s content view in the window’s base coordinate system.
Read more
The window’s content-view resizing increments.
Sets the window’s content-view resizing increments.
Read more
A value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect.
Sets a value used by Auto Layout constraints to automatically bind to the value of contentLayoutRect.
Read more
The area inside the window that is for non-obscured content, in window coordinates.
Sets the area inside the window that is for non-obscured content, in window coordinates.
Read more
A maximum size that is used to determine if a window can fit when it is in full screen in a tile.
Sets a maximum size that is used to determine if a window can fit when it is in full screen in a tile.
Read more
A minimum size that is used to determine if a window can fit when it is in full screen in a tile.
Sets a minimum size that is used to determine if a window can fit when it is in full screen in a tile.
Read more
Removes the window from the screen list, which hides the window.
Moves the window to the back of its level in the screen list, without changing either the key window or the main window.
Moves the window to the front of its level in the screen list, without changing either the key window or the main window.
Moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window.
Repositions the window’s window device in the window server’s screen list.
The window level of the window.
Sets the window level of the window.
Read more
A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows).
The occlusion state of the window.
Removes the frame data stored under a given name from the application’s user defaults.
Read more
Sets the window’s frame rectangle by reading the rectangle data stored under a given name from the defaults system.
Sets the window’s frame rectangle by reading the rectangle data stored under a given name from the defaults system. Can operate on non-resizable windows.
Saves the window’s frame rectangle in the user defaults system under a given name.
Sets the name AppKit uses to automatically save the window’s frame rectangle data in the defaults system.
The name used to automatically save the window’s frame rectangle data in the defaults system.
A string representation of the window’s frame rectangle.
Sets the window’s frame rectangle from a given string representation.
A Boolean value that indicates whether the window is the key window for the application.
A Boolean value that indicates whether the window can become the key window.
Makes the window the key window.
Moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window.
Informs the window that it has become the key window.
Resigns the window’s key window status.
A Boolean value that indicates whether the window is the application’s main window.
A Boolean value that indicates whether the window can become the application’s main window.
Makes the window the main window.
Informs the window that it has become the main window.
Resigns the window’s main window status.
The window’s toolbar.
Toggles the visibility of the window’s toolbar.
Presents the toolbar customization user interface.
An array of the window’s attached child windows.
Attaches a child window to the window.
Detaches a given child window from the window.
The parent window to which the window is attached as a child.
A Boolean value that indicates whether the window is excluded from the application’s Windows menu.
Sets a Boolean value that indicates whether the window is excluded from the application’s Windows menu.
Read more
A Boolean value that indicates whether the window’s cursor rectangles are enabled.
Reenables cursor rectangle management within the window after a disableCursorRects message.
Disables all cursor rectangle management within the window.
Invalidates all cursor rectangles in the window.
Clears the window’s cursor rectangles and the cursor rectangles of the NSView objects in its view hierarchy.
Returns a new instance of a given standard window button, sized appropriately for a given window style.
Returns the window button of a given window button kind in the window’s view hierarchy.
A Boolean value that indicates whether the toolbar control button is currently displayed.
Sets a Boolean value that indicates whether the toolbar control button is displayed.
Read more
A Boolean value that indicates whether the title bar draws its background.
Sets a Boolean value that indicates whether the title bar draws its background.
Read more
The style that determines the appearance and location of the toolbar in relation to the title bar.
Sets the style that determines the appearance and location of the toolbar in relation to the title bar.
Read more
The type of separator that the app displays between the title bar and content of a window.
Sets the type of separator that the app displays between the title bar and content of a window.
Read more
The direction the window’s title bar lays text out, either left to right or right to left.
A Boolean value that indicates whether the app can automatically organize windows into tabs.
Sets a Boolean value that indicates whether the app can automatically organize windows into tabs.
The backing scale factor.
Returns a backing store pixel-aligned rectangle in window coordinates.
Converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system.
Converts a rectangle from the screen coordinate system to the window’s coordinate system.
Converts a point from its pixel-aligned backing store coordinate system to the window’s coordinate system.
Converts a point from the screen coordinate system to the window’s coordinate system.
Converts a rectangle from the window’s coordinate system to its pixel-aligned backing store coordinate system.
Converts a rectangle to the screen coordinate system from the window’s coordinate system.
Converts a point from the window’s coordinate system to its pixel-aligned backing store coordinate system.
Converts a point to the screen coordinate system from the window’s coordinate system.
The string that appears in the title bar of the window or the path to the represented file.
Sets the string that appears in the title bar of the window or the path to the represented file.
Read more
A secondary line of text that appears in the title bar of the window.
Sets a secondary line of text that appears in the title bar of the window.
Read more
A value that indicates the visibility of the window’s title and title bar buttons.
Sets a value that indicates the visibility of the window’s title and title bar buttons.
Read more
Sets a given path as the window’s title, formatting it as a file-system path, and records this path as the window’s associated file.
The path to the file of the window’s represented file.
Sets the path to the file of the window’s represented file.
Read more
The screen the window is on.
The deepest screen the window is on (it may be split over several screens).
A Boolean value that indicates whether the window context should be updated when the screen profile changes or when the window moves to a different screen.
A Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background.
Sets a Boolean value that indicates whether the window is movable by clicking and dragging anywhere in its background.
Read more
A Boolean value that indicates whether the window can be dragged by clicking in its title bar or background.
Sets a Boolean value that indicates whether the window can be dragged by clicking in its title bar or background.
Read more
Sets the window’s location to the center of the screen.
Simulates the user clicking the close button by momentarily highlighting the button and then closing the window.
Removes the window from the screen.
A Boolean value that indicates whether the window is released when it receives the close message.
Sets a Boolean value that indicates whether the window is released when it receives the close message.
A Boolean value that indicates whether the window is minimized.
Simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window.
Removes the window from the screen list and displays the minimized window in the Dock.
De-minimizes the window.
The custom miniaturized window image of the window.
The title displayed in the window’s minimized window.
The application’s Dock tile.
Runs the Print panel, and if the user chooses an option other than canceling, prints the window (its frame view and all subviews).
Returns EPS data that draws the region of the window within a given rectangle.
Returns PDF data that draws the region of the window within a given rectangle.
A Boolean value indicating whether the window configuration is preserved between application launches.
Sets a Boolean value indicating whether the window configuration is preserved between application launches.
Read more
Disables snapshot restoration.
Enables snapshot restoration.