title: iVar getter / method with same name?
body: <p>Can anyone explain what is happening here, at first glance I would consider this to be bad practice. My question is: in the example below am I creating a new getter for model with -(id)model (i.e. overwriting the original from the @property), or am I just masking the @property getter with this new same named method?</p>
  
  <pre><code>@implementation PlanetController
  @synthesize model;
  @synthesize planetLabel_01;
  @synthesize planetLabel_02;
  @synthesize planetLabel_03;
  
  - (id)model {
      if(!model) {
          PlanetModel *tempModel = [[PlanetModel alloc] init];
          [self setModel:tempModel];
          [tempModel release];
      }
      return model;
  }
  </code></pre>
  
  <p>Does that make sense?</p>
  
  <p>gary.</p>