Commit Graph
1 Commits
Author SHA1 Message Date
David Richardson 7358e939bd CPWindow: Add content view controllers
Previously, CPWindow did not support content view controllers,
requiring applications to attach controller views manually and keep
them synchronized.

Following AppKit, a window's content view controller now supplies its
content view and resizes the window to fit that view, while setting a
content view directly replaces the controller. The new
+windowWithContentViewController: method creates a standard window
whose title tracks the controller's title. CPWindowController's
content view controller tracks its window, and cib window templates
archive the controller.
2026-11-24 11:55:47 -06:00