title: objective-c getters/setters & variable/property declarations--an easier way?
body: <p>hopefully this is an easy one.  </p>
  
  <p>I'm coding in objective-c and i'm wondering if there are any tools/tricks (anything) that you use for this annoyance (see below).</p>
  
  <p>Is there an easier way to declare variable/properties within the header and implementation files?</p>
  
  <p>e.g., I'm not a big fan of typing this in the header:</p>
  
  <pre><code>NSString *commercial_name;
  
  @property (nonatomic, retain) NSString *commercial_name
  </code></pre>
  
  <p>and then typing</p>
  
  <pre><code>@synthesize commercial_name
  </code></pre>
  
  <p>in the implementation</p>
  
  <p>it's quite tedious when all 3 things are needed (or when I have to delete all 3) and I'm wondering if there's a plugin (or something) where you can simply say, I'm going to have a variable called <strong>foo</strong> of type <strong>bar</strong> and I want getter &amp; setter methods for it.  poof it's done.</p>
  
  <p>TYVM!</p>