Commit Graph
1 Commits
Author SHA1 Message Date
David Richardson 74c71d99ca CPSplitViewController: Reimplement controller and split view items
Previously, CPSplitViewController was a scaffold: collapsing an item
merely hid its view—leaving its space and divider intact—while all
views could collapse, thickness limits went unapplied, and stub tests
never executed.

CPSplitViewController and CPSplitViewItem now follow NSSplitViewController
and NSSplitViewItem. Collapsed items are hidden while retaining their
size, sibling views absorb space by holding priority, dividers adjacent
to collapsed outer views hide, thickness limits constrain divider drags,
and collapsing via the animator proxy animates. Sidebars collapse when
the split view becomes too narrow, items remain synchronized with child
view controllers, and both controllers and items support archiving.
2026-11-24 11:21:45 -06:00