Re: mysterious core data crash
Re: mysterious core data crash
- Subject: Re: mysterious core data crash
- From: Daniel Richman <email@hidden>
- Date: Sat, 12 Jul 2008 14:15:47 -0700
Of course. I actually realized this with chemid (it had been id) but I
had completely forgotten about description. Thanks to all.
Daniel
mmalc Crawford wrote:
On Jul 12, 2008, at 11:00 AM, Daniel Richman wrote:
The entity is a chemical with three string attributes: chemid, name,
and description.
<http://developer.apple.com/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSPropertyDescription_Class/Reference/NSPropertyDescription.html>
"Note that a property name cannot be the same as any no-parameter
method name of NSObject or NSManagedObject. For example, you cannot
give a property the name "description". There are hundreds of methods
on NSObject which may conflict with property names—and this list can
grow without warning from frameworks or other libraries. You should
avoid very general words (like "font”, and “color”) and words or
phrases which overlap with Cocoa paradigms (such as “isEditing” and
“objectSpecifier”)."
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden