• 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
NSOutLineView and bindings, help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutLineView and bindings, help needed


  • Subject: NSOutLineView and bindings, help needed
  • From: Jacques Foucry <email@hidden>
  • Date: Wed, 22 Jun 2005 16:45:25 +0200

Hello list,

I must admit that I'm not sure to interstand all the bindings tricks.

I just want (for now) have a NSOutlineView working just in IB.

So in my MainWindow I've put a NSOutlineView and 2 buttons Add Child and Remove Child.

I use a NSArrayController which content is connected to the NSOutlineView.
I use a NSTreeController which contentArray is my NSArrayController, the ControllerKey is arrangedObject. I have no Model Key path.


The Add Child button is connected to the addChild action of the NSTreeController.
The Remove Child button is connected to the remove action ot the NSTreeController.


Did I need to Controller with a NSMutableArray to be the dataSource of my NSArrayController ?

Thanks in advance for your help.

Jacques
--
Site web : <http://www.foucry.net>


_______________________________________________ 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: SimpleBrowser Path for column 0
  • Next by Date: Re: NSTableView row height calculation
  • Previous by thread: SimpleBrowser Path for column 0
  • Next by thread: tab character in menu items?
  • Index(es):
    • Date
    • Thread