Add main script class to the OBJECTS list in xib

So, I am having a difficult time converting my old XCode projects to XCode 4.2 but I am getting there.

I have an issue where I created a new project in XCode 4.2 and then I deleted the XIB file. I took my old NIB file from my old project and converted it using the ibtool in terminal. Then I added the new XIB file to my new project.

My problem is that my main script (class) in my applescript is not showing under the “Objects” section so I cannot ctrl-drag to it to create my bindings. How do I point my xib file to my applescript file so it will show under Objects??

Thanks.

Model: iMac
Browser: Firefox 3.6.4
Operating System: Mac OS X (10.6)

You should just be able to drag a blue cube from the object library and change its class to your main script (choose app delegate from the pull down menu).

Ric

Awesome. Thanks. I could not figure that out. I have it working now.