NSWindowController Overview
The NSWindowController class is often used as the file’s owner when loading a .nib containing the definition of a window. The NSWindowController class can be used to customize a window’s title, preserve the window’s position and size in the user’s defaults database, cascade windows onscreen, and manage the window’s memory when the window is closed. Unlike NSApplication, NSWindow, and NSView, the NSWindowController class is not a core part of the Application Kit architecture. NSWindowController is provided as a convenience to help implement a common feature of applications, the dynamic loading of windows from nibs and their subsequent management.
NSWindowController can be used to manage windows that are created programmatically ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access