title: Possible core-data bug: attributes named 'updated' don't work correctly?
body: <p>I have a Core Data entity called <code>Post</code>. One of it's attributes is called <code>updated</code> and it is a date. The stored XML looks like this:</p>
  
  <pre><code>&lt;attribute name="updated" type="date"&gt;266164481.00000000000000000000&lt;/attribute&gt;
  </code></pre>
  
  <p>From this I concluded that the data is being stored correctly. When I read the data back the returned value is a <code>NSCFNumber</code>, not an <code>NSDate</code>.</p>
  
  <p>However, when I changed the name from <code>updated</code> to <code>pubDate</code> it worked properly. <code>updated</code> isn't declared in the headers for <code>NSManagedObject</code> or <code>NSObject</code>, so I guess it must be a private method.</p>
  
  <p>Has anyone else experienced this? Should I report it to Apple?</p>
  
  <p>I figured this out after a few hours of head scratching/foul mouth anger.</p>