4 ms·
git and as petty as it is, not having to type @synthesize.
by hayroob 16y ago
git and as petty as it is, not having to type @synthesize.
- cameldrv 16y agoYou want PropertyFromInstanceVariable from here: http://www.bernard-web.com/pierre/code.html http://www.bernard-web.com/pierre/code.html This thing has saved me hours of aggravation. You highlight a line in the struct part of the Obj-C class definition, and it generates the @property, the @synthesize, and a line in dealloc. You can also highlight multiple lines, and it will generate multiple properties. It is even smart enough to know that ints are assign, NSStrings are copy, and other objects are retain.
- Zev 16y agoOr just LLVM 1.5 or LLVM 2.0, as there are C flags you can pass in that will make it so you no longer have to add ivars to your header and make @synthesize the implicit default.