Re: Programmatically get treecontroller selection
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