objective-cmacosstoryboardnstabview

Storyboard NSTabView TabViewItem positioning


Im on Xcode 8.2, OSX, Objective C

I have a NSWindow instance with a NSTabView in a storyboard. I'd like to change positions of the tabs. It feels like i'm missing something, this HAS to be easy...

enter image description here

The order in the Screenshot is the order they appear. Dragging doesn't work. I didn't find a position flag either.


Solution

  • EDIT: I misunderstood your question - sorry. In case of pure NSTabView dragging and dropping in Interface Builder works just fine for that task, I cannot take exact screenshot (because command key automatically positions views) but you should see a blue line between tabs with a radio button at the left end:

    enter image description here

    Go to your storyboard an manually readjusts the outlets from the rightmost button, you can use it multiple times, even if outlet is set for one view controller already. Take a look:enter image description here