title: Cocoa-Touch, NSManagedObject: Exception when setting a property
body: <p>I have a NSManagedObject subclass, created by the XCode model interface.<br>
  This class has some NSString and NSNumber members, and a NSDate member.</p>
  
  <p>When I try to set the NSDate member, I get the following exception:<br>
  <code>2009-10-12 21:53:32.228 xxx[2435:20b] Failed to call designated initializer on NSManagedObject class 'Item'<br>
  2009-10-12 21:53:32.228 xxx[2435:20b] *** -[Item setDate:]: unrecognized selector sent to instance 0x3f7ed30<br>
  2009-10-12 21:53:32.229 xxx[2435:20b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[Item setDate:]: unrecognized selector sent to instance 0x3f7ed30'</code></p>
  
  <p>The date parameter is just like the others, except that instead of being a</p>
  
  <pre><code>@property (nonatomic, retain) NS{String,Number}* propname;  
  </code></pre>
  
  <p>it's a</p>
  
  <pre><code>@property (nonatomic, retain) NSDate *date;
  </code></pre>
  
  <p>Btw, the <code>Item</code> instance I'm assigning on is just a regular <code>[[Item alloc] init]</code>, no associated context or anything.</p>
  
  <p>First I thought my NSDate* was faulty, then I tried assigning it [NSDate date], and even nil. It still crashes.</p>
  
  <p>Any ideas?</p>