Commit Graph
1 Commits
Author SHA1 Message Date
David Richardson 709d8fa904 CPViewController: Add child view controller management
Previously, CPViewController lacked child view controller APIs, preventing
container controllers from tracking children and causing the split view
controller to raise on its first item.

Following NSViewController, the receiver now maintains an ordered array
of child view controllers and each child tracks its parent. Insertion and
removal route through two primitives overridable by container
subclasses, changes notify observers, and child view controllers are
archived.
2026-11-24 11:19:43 -06:00