PDA

View Full Version : Creating a Tab-Bar Application?




Noisemaker
Oct 21, 2010, 07:31 PM
I love the idea of tab bar apps in iOS - as an iOS dev, a lot my apps make use of tab bars for navigation.

Is it possible to use Tab Bars in Mac OSX development, or are we limited to toolbars and other "act-a-like" solutions?



kainjow
Oct 21, 2010, 08:36 PM
If you're referring to UITabBar, there is no direct equivalent of that on OS X. You could certainly role your own though.

There is NSTabView which would be functionally the same.

Noisemaker
Oct 21, 2010, 09:00 PM
If you're referring to UITabBar, there is no direct equivalent of that on OS X. You could certainly role your own though.

There is NSTabView which would be functionally the same.

So NSTabView functions the same, but has it's own little window, correct?

When building with it, is it similar to working with a UITabBar for iOS? IE, I create views, and they are associated to their respective tab in the NSTabView?

Also, as I'm using the tabs on the bottom of the window, what can I do in terms of a thin toolbar, similar to iPhoto '09's? I'd like a small area to stick extra buttons, and that would be perfect, as well as make the application look more polished.