title: iOS Variable names and memory management
body: <p>I am a bit confused by the underscore naming and the self. Is the following code OK? </p>
  
  <p>@interface MyClass()</p>
  
  <pre><code>@property (nonatomic,retain) NSString        *name;
  @property (nonatomic,retain) NSString        *surname;
  
  @end
  
  @implementation MyClass
  @synthesize name = _name;
  @synthesize surname = _surname;
  </code></pre>
  
  <p>Then when I need to assign a value I do this</p>
  
  <pre><code>self.name = [someParam retain];
  </code></pre>