Userscript with xcode4

252 Views Asked by At

Does anybody knows how to use xcode3 userscripts in xcode4 ?

There was this great script which allowed you to select a variable and automatically generate property/synthetise/dealloc code :

http://cocoawithlove.com/2008/12/instance-variable-to-synthesized.html

Do you have any idea how to do this in xcode4 ?

Thanks, Vincent

3

There are 3 best solutions below

0
On BEST ANSWER

I managed to get it working a little while ago. Abstracted it out into a re-usable processor for Xcode 3 scripts. Find it at https://github.com/heardrwt/Xcode4UserScripts

1
On

It's gone as far as I can see. We'll probably have to use an external script system that takes text from the clipboard, processes it and then puts it back.

0
On

I finally found a way to do that with Xcode4 :

https://github.com/CraigWilliams/property_synthesize_dealloc