Valid contentObject for NSTreeController (Core Data)
Valid contentObject for NSTreeController (Core Data)
- Subject: Valid contentObject for NSTreeController (Core Data)
- From: Daniel Price <email@hidden>
- Date: Sun, 15 Jun 2008 01:55:56 +0100
Can someone point out the correct method of providing a valid
datasource object for the contentObject binding of a NSTreeController
in a Core Data document app?
I've added an NSManagedObject instance variable to my document
subclass (and added an accessor) and bound the controller in a nib to
it, but when I start the app, I get no document and no errors in the
console...just nothing.
Is it possible with Core Data apps? Or does the controller get it's
content from the Managed Object Context?
_______________________________________________
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