views:

1197

answers:

4

I thought I was fairly experienced at iPhone development, but I'm tripping up on the Stanford iPhone course on the very first video http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.3124430053.03124430055

(38 mins in)

Cannistraro, the teacher, drags an NSObject into the MainWindow.xib. And when he inspects the Object in the Identity Inspector (Cmd-4), there are Class Actions and Class Outlets sections. However, these don't appear for me, just Class Identity and Interface Builder Identity... Where have they gone?

+2  A: 

Interface Builder has gone through some changes recently. Go to classes in the library panel, select the object from the top half you wish to inspect and the lower half of the screen has tabs for Lineage, Definitions, Outlets and Actions.

Convolution
Thanks! I'm not sure it makes much sense in that panel, since it seems like you have to create a subclass perfectly, and then there is no way to alter Actions and Outlets afterwards.
cannyboy
A: 

I have the same exact problem! There's only "Class Identity" and "Interface Builder Identity"! Where is the Class Actions and Class Outlets sections? Arggg

I see what Convolusion described, and thank you for the help Convolusion... But this seems less dynamic than the old way? You have to add all your the Outlets and Actions before you create the object? Before you could add/remove them after the object is created...

Oh, now I see... You can use the Object Connections tab I guess.

Pem
+2  A: 

In the library panel find the Segmented-Button, Click on classes. Find NSObject or any other class you would like to subcalss. Right click and "New subclass...", Name it something useful in the pop up like controller/AppController. Find your newly named Class in the class list. Now add all your actions/outlets in the Bottom of the library panel. Thanks to Convolution I would never have found this. (Just thought I'd expand on the above tip).

JMFR
+1  A: 

I finally solve my issue as the same as you. Before , I used a earlier version of IB, that's 3.1. And I can access "Class Actions and Class Outlets sections" on Tools-> Identity Inspector Panel. But after I choose another macbook (which IB is upgraded to version 3.2.1), I must access the corresponding section Library panel->Classes Tab->choose the specified object, then go to the panel's lower part(as illustrated by Convolution).