AS ObjC file template

(Andreas Kiel) #1

I asked that in MacScripter already.
Anybody here who knows how and where to install a “file template” for a basic AppleScript ObjC file.
Right know you have to create an empty file, rename it, type or paste some basic code, add a new NSObject and set it up to link to the new file.

Somewhere was mentioned that Shane had done something like that many years ago, but I can’t find that.

(Shane Stanley) #2

I did make a new project template, but subsequent changes rendered it obsolete. What you describe is the best way to do it, although you don’t always have to make an object in IB — you can make an instance using alloc()'s init(), instead.