窗口面板屏幕

整理你的视图层次结构,并方便其在屏幕上显示。

主题

窗口

App在屏幕上显示的窗口。

一种特殊类型的窗口,通常执行辅助窗口的功能。

  • protocol NSWindowDelegate A set of optional methods that a delegate of NSWindow can implement to respond to events, such as window resizing, moving, exposing, and minimizing.

  • class NSWindowTab A tab associated with a window that is part of a tabbing group.

  • class NSWindowTabGroup A group of windows that display together as a single tabbed window.

还原窗口

屏幕

  • class NSScreen An object that describes the attributes of a computer’s monitor or screen.

弹出式窗口

一种在屏幕上显示与现有内容有关的其他内容的方法。

  • protocol NSPopoverDelegate A set of optional methods that a popover delegate can implement to provide additional or custom functionality.

Alert

  • class NSAlert A modal dialog or sheet attached to a document window.

  • protocol NSAlertDelegate A set of optional methods implemented by the delegate of an NSAlert object to respond to a user’s request for help.

打开和保存面板

打印和PDF面板

颜色面板

字体面板

  • class NSFontPanel The Font panel—a user interface object that displays a list of available fonts, letting the user preview them and change the font used to display text.

  • struct NSFontPanel.ModeMask NSFontPanelValidation A set of methods you use to tell the Font panel to display some or all of its elements.

  • protocol NSFontChanging