title: Xcode incompatible pointer types subclass
body: <p>I'm getting this warning in Xcode when I try to send an object which is a subclass of the expected class.</p>
  
  <p><code>[reminder addContactsObject:individual];</code> addContactsObject method is expecting that the input should be of type <code>Contact</code>. The <code>individual</code> that I'm sending is a subclass of <code>Contact</code> (<code>Individual : Contact</code>).</p>
  
  <p>So why is this generating a warning?</p>
  
  <p>Edit: Added code...</p>
  
  <p><strong>Reminder.h</strong></p>
  
  <pre><code>@interface Reminder : NSManagedObject
  
  - (void)addContactsObject:(Contact *)value;
  </code></pre>
  
  <p><strong>Contact.h</strong></p>
  
  <pre><code>@interface Contact : NSManagedObject
  </code></pre>
  
  <p><strong>Individual.h</strong></p>
  
  <pre><code>@interface Individual : Contact
  </code></pre>