title: Connecting drill-down NSSplitView outlets using Storyboards
body: <p>I have an <code>NSSplitView</code> that manages a drill-down hierarchy. The parent/left side displays groups, while the child/right side receives notification that the group selection has changed, and updates to display the child items.</p>
  
  <p><em>However:</em> When creating an <code>NSSplitView</code> using storyboards, there are 3 scenes created: One for the split view itself, and one for each of the right/left <code>NSViewController</code> instances.</p>
  
  <p>The problem here is that I have two controllers that are also acting as <code>NSTableViewDataSource</code> items, and the <em>parent</em> controller should have an <code>IBOutlet</code> to the <em>child</em> controller so that it can provide direct notification that the selection has changed.</p>
  
  <p><strong>But!</strong> Because these controllers are in different scenes, I cannot connect them. Nor can I move them both up to the parent scene for the split view, because they would then not have access to the <code>NSTableView</code> outlets. (Nor would the tables reference the controllers as delegates/datasources.)</p>
  
  <p>Do I need to use <code>NSNotification</code> here? It seems so indirect and wishy-washy, and I haven't found a segue-based approach on the Mac.</p>
  
  <p><img src="https://i.stack.imgur.com/YqSrn.png" alt="enter image description here"></p>