• 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
Valid contentObject for NSTreeController (Core Data)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: looking for a crc code
  • Next by Date: Re: Saving Bindings and Editing Font
  • Previous by thread: Re: NSSplitview. Stopping the split moving
  • Next by thread: using NSFileManager to read data
  • Index(es):
    • Date
    • Thread