Re: Problem overriding newObject in NSTreeController
Re: Problem overriding newObject in NSTreeController
- Subject: Re: Problem overriding newObject in NSTreeController
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 22 Jun 2005 16:09:33 -0700
On Jun 22, 2005, at 3:58 PM, mmalcolm crawford wrote:
There are different code paths depending on whether or not the
content uses Core Data. If you're not using Core Data, then
newObject is called [by both add: and addChild:]. If you are using
Core Data, then the controller tries to create a new object of the
appropriate entity, depending on the relationship in the current
selection.
To clarify: (as empirically determined) the controller's
implementation of addChild: does not use newObject if the content is
specified as an entity.
mmalc
_______________________________________________
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