Re:Xcode 4 public preview - Single window, LLVM 2.0, streaml...
by hayroob on Friday July 23, 2010 @01:10AM
(#1540421)
git and as petty as it is, not having to type @synthesize.
Re:Xcode 4 public preview - Single window, LLVM 2.0, streaml...
by cameldrv on Friday July 23, 2010 @01:37AM
(#1540456)
You want PropertyFromInstanceVariable from here:
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.
Apple thank you for listening.