title: Trying to set the tab order in Xcode for OS X App
body: <p>I'm building an OS X Desktop app with Xcode 7.3 and I'm trying to set the tab order for one of the forms.</p>
  <p>I've found a couple of posts explaining a similar problem for Xcode 4 but not getting anywhere with it, <a href="https://www.youtube.com/watch?v=SRrE8eqp0dU" rel="nofollow noreferrer">https://www.youtube.com/watch?v=SRrE8eqp0dU</a></p>
  <p>The basic problem i'm trying to fix is when the user is in a field and tabs I want it to tab to the field below, not the field next to it, and so on.</p>
  <p>Looking thru the documentation it mentions wiring up the nextKeyView so it knows where to tab next to, so I've used the Interface Builder to wire up the nextKeyView for each field to point to the right one but no go.</p>
  <p>I think I need to set the initialFirstResponder but unsure where to wire that up?</p>
  <p>It doesn't really attach to the separate view so bit lost.</p>
  <p>I've posted my source code here <a href="https://github.com/johnantoni/osx-tab-order" rel="nofollow noreferrer">https://github.com/johnantoni/osx-tab-order</a></p>
  <p>Any ideas and pointers really welcome?</p>
  <p>At a lose end.</p>
  <p><a href="https://i.stack.imgur.com/N42YM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N42YM.png" alt="enter image description here" /></a></p>