Userscript with xcode4
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
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
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.
I finally found a way to do that with Xcode4 :
https://github.com/CraigWilliams/property_synthesize_dealloc
精彩评论