NSSplitView question

2008-08-03 Thread Eric Lee
I have two table views with two different data, and I have two buttons so that when you press one button, something is added to the first table view, and when you press the second button, some info is added to the second table view. You can't press the 1st one to add it to the 2nd table vie

NSSplitView Question

2008-08-03 Thread Eric Lee
Sorry, I accidently did something wrong on that message. Here's the one I'm actually asking... How do you make a NSSplitView so that when you click something on one side, the other side is updated. For example, take the mail application. When you click trash, the other side is updated to

Re: NSSplitView Question

2008-08-03 Thread Graham Cox
This is not any thing to do with NSSplitView as such. You're asking "how to implement a master-detail interface". Try doing searching on those terms, phrase or a variation of it, I'm sure it's been well- covered. The essentials are - detect the selection change in the master view, use it t

Re: NSSplitView Question

2008-08-03 Thread Negm-Awad Amin
Am Mo,04.08.2008 um 07:35 schrieb Eric Lee: Sorry, I accidently did something wrong on that message. Here's the one I'm actually asking... How do you make a NSSplitView so that when you click something on one side, the other side is updated. For example, take the mail application. When

Re: NSSplitView Question

2008-08-04 Thread Iain Houston
The TwoManyControllers sample code does what you want I think mostly generated from declarative as far as I can see On 4 Aug 2008, at 06:41, Graham Cox wrote: This is not any thing to do with NSSplitView as such. You're asking "how to implement a master-detail interface". Try doing searchin