PDA

View Full Version : Interface Builder - Some panels not showing up...




grimreaper1377
Jan 26, 2008, 06:32 PM
Hi,

In my Interface Builder, the panels at the top of the MainMenu.nib file don't show up (Instances, Classes, Images, Sounds, Nib) I'm running Leopard and I installed XCode from the leopard install CD.

Here's a screenshot of what my window looks like:
http://img257.imageshack.us/img257/2408/picture4md1.png

Thanks in advance.



kainjow
Jan 26, 2008, 11:04 PM
That is because they no longer exist in IB 3 :)

What are you trying to do?

grimreaper1377
Jan 29, 2008, 12:19 AM
I'm just following tutorials from http://cocoadevcentral.com/d/learn_cocoa_two/ and some other books and it says to click on the classes panels...but now that they're gone I really don't know what to do :confused:

Thanks.

megrisoft
Jan 29, 2008, 05:53 AM
I am not sure if they exist in Interface Builder 3

iSee
Jan 29, 2008, 08:12 AM
I'm just following tutorials from http://cocoadevcentral.com/d/learn_cocoa_two/ and some other books and it says to click on the classes panels...but now that they're gone I really don't know what to do :confused:

Thanks.

That tutorial need to be updated to Xcode 3.
You're stuck at the point where you are trying to create the controller, right?
In IB 3 you:
* Drag an "Object" from the library to MainMenu.nib window. (You can use the quick search field to find it quickly.)
* Select the new Object and open the Inspector, if it isn't already.
* There is a class drop down box that, I think, will have NSObject in it. You'll change that to the name of your controller. (I did this tutorial once, it's called something like AppController or NotepadController, right?).
* When you hit enter, it should load up the actions and outlets.

If you get stuck again, maybe you should try apple's Xcode 3 objective-C tutorial until this one gets updated.