Re: How to set tab order in a window that has view swapping

Andy Lee <[email protected]> Tue, 25 Jan 2011 09:10:36 -0500
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Jan 25, 2011, at 7:08 AM, Christiaan Hofman wrote:
> You can either have the window auto recalculate the keyview loop, 

And the method to do that, not surprisingly, is NSWindow's recalculateKeyViewLoop.

There's also a setAutorecalculatesKeyViewLoop: method.  See the docs.

By the way, if you aren't already using a tabless NSTabView, that's a common technique for easily swapping views.

--Andy