• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem overriding newObject in NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problem overriding newObject in NSTreeController
      • From: Michael McCracken <email@hidden>
References: 
 >Problem overriding newObject in NSTreeController (From: Michael McCracken <email@hidden>)
 >Re: Problem overriding newObject in NSTreeController (From: mmalcolm crawford <email@hidden>)
 >Re: Problem overriding newObject in NSTreeController (From: Michael McCracken <email@hidden>)
 >Re: Problem overriding newObject in NSTreeController (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Correct way to force kill a thread.
  • Next by Date: Re: NSTableView row height calculation
  • Previous by thread: Re: Problem overriding newObject in NSTreeController
  • Next by thread: Re: Problem overriding newObject in NSTreeController
  • Index(es):
    • Date
    • Thread