hope it is very simple.
I code in objective-c, and I wonder if there are any tools / tricks (anything) that you use for this annoyance (see below).
Is there an easier way to declare variables / properties in header and implementation files?
for example, I'm not a big fan of typing this in the header:
NSString *commercial_name; @property (nonatomic, retain) NSString *commercial_name
and then typing
@synthesize commercial_name
in implementation
This is pretty tiring when all 3 things are needed (or when I need to remove all 3) and I wonder if there is a plugin (or something) where you can just say I will have a variable called foo like bar , and I want to use getter and setter methods. that was done.
TYVM!
source share