• 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: Programmatically get treecontroller selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically get treecontroller selection


  • Subject: Re: Programmatically get treecontroller selection
  • From: Jonathan Dann <email@hidden>
  • Date: Tue, 20 May 2008 18:55:16 +0100


2008-05-19 22:25:46.990 moolahcoredata[664:10b] Cannot perform operation without a managed object context

I just tried to replicate this and got this error when the tree controller wasn't bound to the moc and 'prepares content' is selected. This, of course, would fail as the controller is trying to execute the default fetch request (with any fetch predicate you've specified) but has no knowledge of the moc with which to perform the fetch.


So your selection is nil as the tree controller has no content. (AFAICT)

Jon

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

References: 
 >Programmatically get treecontroller selection (From: Steven Hamilton <email@hidden>)
 >Re: Programmatically get treecontroller selection (From: Jonathan Dann <email@hidden>)
 >Re: Programmatically get treecontroller selection (From: Steven Hamilton <email@hidden>)

  • Prev by Date: Re: Cocoa et al as HCI usability problem
  • Next by Date: Re: Programmatically get treecontroller selection
  • Previous by thread: Re: Programmatically get treecontroller selection
  • Next by thread: Re: Programmatically get treecontroller selection
  • Index(es):
    • Date
    • Thread