Mac Interface Builder can't create Toolbars?

jedirunner

macrumors member
Original poster
Aug 1, 2007
32
0
Hi,

I'm new to mac programming and trying to give xcode/IB a try. I have an app mocked up a bit that I'd like to create a prototype for. However, I'm not able to find any Toolbars in Interface Builder, or any splitter panes, for that matter. How do I go about adding toolbars and splitter panes to the window if they're not in the pallette? Is this something I'll have to add manually in the code?

Thanks,

Kevin
 

mduser63

macrumors 68040
Nov 9, 2004
3,038
30
Salt Lake City, UT
You can't make toolbars in Interface Builder, you have to do it programmatically. I'm pretty sure Interface Builder in Leopard has support for graphical creation of toolbars, but of course that won't be out until next month. Look up NSToolbar for information on how to make a toolbar programmatically.

To put something in a split view, select the relevant objects then select Make Subviews Of->Split View from the Layout menu.
 

GeeYouEye

macrumors 68000
Dec 9, 2001
1,652
4
State of Denial
As for split views, you create the views you want on each side, and then group them (it's under the Layout menu).

Toolbars... wait another couple months.