Re: Re: Core Data attributes and reserved names...
Re: Re: Core Data attributes and reserved names...
- Subject: Re: Re: Core Data attributes and reserved names...
- From: "Michael Ash" <email@hidden>
- Date: Sat, 19 Aug 2006 17:12:12 -0400
On 8/19/06, mmalc crawford <email@hidden> wrote:
Properties
[...] 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" (see NSPropertyDescription).
"Note that a property name cannot be the same as any no-parameter
method name of NSObject or NSManagedObject. [...]"
This seems sort of scary. Does this mean that if Apple ever adds a new
method to NSObject, it could potentially break any CoreData
application that just happened to use the unlucky attribute name, even
though that name was 100% fine when the app was built?
While NSObject is generally pretty stable, some additions have been
made in the past and I would expect that to continue.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden