I'm coming from Ruby to Objective-C and I keep doing:
NSObject *foo;
@property (nonatomic,retain) NSObject *foo;
in the .h file, and then in .m file:
@synthesize foo;
at the top and
[foo release]
in dealloc.
It's 4 steps to add foo
! Do seasoned Objective-C programmers do all four steps manually each and every time they want to add a new instance variable to a class? Am I missing a way to make this DRY?