The basis of my problem is that when I resize my window, the left pane of my split view resizes and the right side keeps a fixed width, i'd like it to work the other way around.
If I try to move the split divider to make the right side bigger, it snaps back.
I add the SplitView items in my NSSplitViewController subclass like this:
// Add a new SplitViewItem with list view
if (self.tabView == nil)
{
self.tabView = [self.storyboard instantiateControllerWithIdentifier:@"ListTabView"];
}
[self addChildViewController:self.tabView];
NSSplitViewItem *slSplitView = [self splitViewItemForViewController:self.tabView];
[slSplitView setCanCollapse:NO];
[slSplitView setHoldingPriority:260];
if (self.mediaview == nil)
{
self.mediaview = [self.storyboard instantiateControllerWithIdentifier:@"MediaView"];
}
[self insertChildViewController:self.mediaview atIndex:1];
NSSplitViewItem *slSplitViewMedia = [self splitViewItemForViewController:self.mediaview];
[slSplitViewMedia setCanCollapse:NO];
[slSplitViewMedia setHoldingPriority:251];
The subviews in my mediaView have their widths set to >=400 so that's not the issue.