macOS Big Sur beta 3 makes disappear the fullHeight sidebar when replacing an NSSplitViewItem

In macOS Big Sur beta 3 and Xcode 12 beta 3, when I execute this:

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
Answered by knshi in 626000022
  • Solved with beta 4.

Accepted Answer
  • Solved with beta 4.

macOS Big Sur beta 3 makes disappear the fullHeight sidebar when replacing an NSSplitViewItem
 
 
Q