• 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
NSTreeController and NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeController and NSBrowser


  • Subject: NSTreeController and NSBrowser
  • From: Joe Osborn <email@hidden>
  • Date: Mon, 30 May 2005 17:27:23 -0500

A quick search through the mailing list didn't turn up anything on using NSTreeController with NSBrowser, and the sample code in / Developer/Examples/CoreData/OutlineEdit wasn't quite enough, and was about NSOutlineView anyway.

So, the guts of my question is: Given a known-populated managed object context, and a tree controller set to use that and with the entity type set to an abstract superentity of my actual entities, which tree controller is bound to the content of an NSBrowser... why am I getting a blank browser?

A zip archive of the project is available at http://homepage.mac.com/ being/ocb.zip . Blah, blah, license stuff, anybody can do whatever they want with it, I don't care.

Any critiques on the .xcdatamodel would be welcome, too, I'm used to OO modeling, but Core Data modeling seems different somehow. Fetch requests and so on give a bit more 'how' than I'm used to, and I'm not quite sure yet what are good candidates for inverse relationships and what are good candidates for fetched properties.

In the end, though, I just would like to "put the damned data on the damned screen", as the saying goes.

(Any tips in general on debugging core data/bindings? It seems to work very invisibly, and so things go wrong a lot of the time without complaining. Anyone have hints on this class of problem?)

__joe
_______________________________________________
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


  • Prev by Date: Re: IB, TableViews and exposing bindings for a Subclassed NSActionCell
  • Next by Date: Re: NSArrayController question...
  • Previous by thread: Re: NSComboBoxCell example
  • Next by thread: Why is it like this?
  • Index(es):
    • Date
    • Thread