In macOS Big Sur beta 3 and Xcode 12 beta 3, when I execute this:
The sidebar loses the fullHeight layout and the toolbar starts using the full width window instead of the splitViewItem[1] width, as occurs inn beta 1 and 2 of macOS Big Sur.
This code also was killing the titlebar separator shadow in previous versions, so I'm asking if I'm setting correctly the NSSplitViewItem.
You can check sample project here:
https://github.com/albbadia/SplitController-Behavior
Code Block if let splitController = appWindow.contentViewController as? NSSplitViewController { splitController.splitViewItems[0] = NSSplitViewItem(sidebar: MY_VIEW_CONTROLLER_SIDEBAR) splitController.splitViewItems[1] = NSSplitViewItem(viewController: MY_VIEW_CONTROLLER_CONTENT) }
The sidebar loses the fullHeight layout and the toolbar starts using the full width window instead of the splitViewItem[1] width, as occurs inn beta 1 and 2 of macOS Big Sur.
This code also was killing the titlebar separator shadow in previous versions, so I'm asking if I'm setting correctly the NSSplitViewItem.
You can check sample project here:
https://github.com/albbadia/SplitController-Behavior