title: PushRow and UISplitViewController navigation
body: <p>I am working on a <code>UISplitViewController</code> subclass that has a <code>UINavigationController</code> as master viewcontroller (the reason for this is that I need the navigation bar). The <code>UINavigationController</code> has a <code>FormViewController</code> subclass as rootViewController. In the form I am using a <code>PushRow</code> to show a list of selectable options. The problem is that when I tap the <code>PushRow</code> in a regular-width environment the <code>SelectorViewController</code> is pushed in the master navigation stack. I would like to see the <code>SelectorViewController</code> showed as a <code>UISplitViewController</code> detail instead.</p>
  
  <p>I created a <code>DummyNavigationController</code> that looks like this:</p>
  
  <pre><code>class DummyNavigationController: UINavigationController {
  
      override init(rootViewController: UIViewController) {
          super.init(rootViewController: rootViewController)
      }
  
      override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
          super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
      }
  
      required init?(coder aDecoder: NSCoder) {
          super.init(coder: aDecoder)
      }
  
      override func targetViewController(forAction action: Selector, sender: Any?) -&gt; UIViewController? {
          if let parent = parent as? UISplitViewController {
              return parent.isCollapsed ? self : parent
          }
          return self
      }
  
  }
  </code></pre>
  
  <p>Using this as navigation controller for the <code>FormViewController</code> I am able to see the <code>SelectorViewController</code> on the detail but I don't like this approach.</p>
  
  <p>Is there anything else that I can do?</p>