How to add another drawer to a window in Interface Builder

Hi,

Could anyone tell me how to add another drawer to an existing window in Xcode project.

I am able to add only one drawer to a window when I drag it from IB palette. Now I want to add another drawer to the same window with different buttons. Please help me on this.

Thanks,
Gopal

A drawer has 2 connections. If you look at the “connections” panel of the insepctor for a drawer you will see it has a “contentView” and a “parentWindow”. So first create another drawer object… you can select the drawer in your nib file then copy/paste it and you will get a second drawer. Then add a custom view to the nib. Now go to the connections panel and drag from the little circle to the object to make the connection… to the custom view for the contentView and to a window for the parentWindow.