splitView(_:canCollapseSubview:)
Allows the split view controller to determine whether the user can collapse and expand the specified subview.
Declaration
@MainActor func splitView(_ splitView: NSSplitView, canCollapseSubview subview: NSView) -> Bool