• 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: NSOutlineView and Controller layer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView and Controller layer


  • Subject: Re: NSOutlineView and Controller layer
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 3 Nov 2003 18:17:56 -0500

On Nov 3, 2003, at 1:45 AM, Drew McCormack wrote:

Like everyone else, I have been playing a bit with the controller layer in panther. The basic stuff seems to work OK. I can get an NSTableView and NSArrayController to talk, for example. But I have not been able to figure out how you could link up an NSOutlineView, or even if it is possible with the standard Cocoa controller classes. My guess is that something more powerful than NSArrayController is needed, that can store a tree of items as well as an array of model data. Does that sound right? Anyone done it yet?



NSOutlineView isn't supported for bindings at this point. The bindings that are present are just hand me downs from NSTableView.

You'd not really need a tree controller in order to make NSOutlineView work.. an array of arrays is a tree, so either nested array controllers, or perhaps even just using a single array controller changing the contentArray binding to be a keyPath to the current nodearray...

mind you, it's all speculation since NSOutlineView isn't supported.

Oh, just to stave off any other questions... the list of unsupported classes are: NSOutlineView, NSBrowser (although I'm not 100% on that), NSQuickdrawView, OpenGLView.. I think that's it.. at least as far as what you can create in IB is concerned. Hopefully they'll be supported in a future revision.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >NSOutlineView and Controller layer (From: Drew McCormack <email@hidden>)

  • Prev by Date: Re: NSPopUpButtonCell
  • Next by Date: Re: Cocoa Cross Development
  • Previous by thread: NSOutlineView and Controller layer
  • Next by thread: not performing selector...
  • Index(es):
    • Date
    • Thread