NSOutLineView and bindings, help needed
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