title: How to disable accessor return type warnings?
body: <p>I have an object that has to be of different types internally, but that I always want to return as a string. So I declared the object as 'id' and wrote a getter method that always returns NSString*. Everything is working as it should, and XCode is complaining "Type of property 'X' does not match type of accessor 'setX:'" as expected. Since I do want this behaviour though, does anybody know how to tell XCode that I do, in fact, want this, and would rather not see this warning all the time? Kind of like the "__unused" directive for unused variables?</p>
  
  <p>Thank you!
  Max</p>
  
  <p>Edit: Here's the code  </p>
  
  <p><strong>.h</strong></p>
  
  <pre><code>@property (strong,nonatomic) id wert;
  - (void) setWert:(NSString *)value;
  - (NSString *) wert;
  </code></pre>
  
  <p><strong>.m</strong></p>
  
  <pre><code> @synthesize wert;
  
  - (void) setWert:(NSString *)value
  {
          wert = value;
  }
  
  - (NSString *) wert
  {
          return wert;
  }
  </code></pre>