help adding a new class file please

Hi

Iv’e been using the advice from Dylan from the link below to create a new class and then create a new class file (applescript) in xcode 3.2.3 with no issues at all.

http://macscripter.net/viewtopic.php?id=33483

I have since upgraded to xcode 4.0.1, which is a lot different, and im having trouble figuring out how to do the same as above.

I can create the object and name it, then after that I am uncertain as to how to go about adding the class file, I have tried file/new file but see no applescript reference at all.

could some one please show me how to go about doing as I did before but for xcode 4.0.1

cheers
Budgie

To create a new class file in Xcode 4 you need to create an Empty File, name it .applescript, and enter all the stuff yourself.

cheers for that Shane, :smiley:

And don’t forget to go to bugreporter and file a request for an AS class file template.