Permalink
Browse files

edited the @synthesize talk

  • Loading branch information...
1 parent 068cc1b commit df641daa285abcd23bb500ce2fb152bf6cea18d2 Brian Cooke committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 rocket_coding_guide.markdown
@@ -14,7 +14,7 @@ A lot of this is based on the [ZDS Style Guide](http://www.cimgf.com/zds-code-st
+ 2 spaces for tabs.
-+ Put your @synthesize entries at the bottom of your .m
++ Put your @synthesize entries at the top of your .m and and give them a protected instance variable, like @synthesize foo = _foo;. Only define the @property. Don't define _foo in the interface.
+ Put your -dealloc, -viewDidUnload and -cleanup methods at the top of your .m

0 comments on commit df641da

Please sign in to comment.