Sharing a Bindings Controller between nibs

2008-10-14 Thread Citizen
Hi, I'm just getting to grips with bindings. I have a master-detail interface, where the Detail interface is in a separate nib from the main Master interface (so that different Detail interfaces can be swapped in). The main Master interface nib contains an NSTreeController which is used to

Re: Sharing a Bindings Controller between nibs

2008-10-14 Thread Graham Cox
On 15 Oct 2008, at 9:30 am, Citizen wrote: I have a master-detail interface, where the Detail interface is in a separate nib from the main Master interface (so that different Detail interfaces can be swapped in). The main Master interface nib contains an NSTreeController which is used to d

Re: Sharing a Bindings Controller between nibs

2008-10-16 Thread Kyle Sluder
On Tue, Oct 14, 2008 at 6:30 PM, Citizen <[EMAIL PROTECTED]> wrote: > So, what is the cleanest way (i.e with the least glue code) of connecting > the two? Bind it through File's Owner. You may want to look into using an NSViewController for this. --Kyle Sluder ___

Re: Sharing a Bindings Controller between nibs

2008-10-17 Thread Ron Lue-Sang
On Oct 14, 2008, at 4:06 PM, Graham Cox wrote: On 15 Oct 2008, at 9:30 am, Citizen wrote: I have a master-detail interface, where the Detail interface is in a separate nib from the main Master interface (so that different Detail interfaces can be swapped in). The main Master interface nib