Reputation: 8395
In Xcode 3, double-clicking on a toolbar in Interface Builder brings up a configuration window to setup the toolbar's initial appearance – as in what items are initially displayed in the toolbar. However in Xcode 4 double-clicking a toolbar (in the window designer) doesn't do anything.
How can I customize my app windows' toolbars in Xcode 4? I'm using Xcode 4.3.3 on Lion and developing a Mac app.
Note: this is not about customizing Xcode's toolbar, but customizing an app's toolbar that is being developed in Xcode
Thanks
Upvotes: 1
Views: 1181
Reputation: 5431
When you double-click the toolbar of the window in Xcode 4's interface editor, a sheet appears with "Allowed Toolbar Items" and "Default Toolbar Items". (You can also Option-click to see this.)
Although you can't drag items directly into the toolbar of the mock window, the items displayed in that toolbar will change if you drag items into the "Default Toolbar Items" section of the sheet (bottom half of the sheet). You can also drag around the items in that section to rearrange them.
Note that items must first be dragged into "Allowed Toolbar Items" before they can be dragged into "Default Toolbar Items".
Upvotes: 2