Re: how to release my window controller

2008-08-02 Thread Michael Ash
On Sat, Aug 2, 2008 at 12:50 PM, Torsten Curdt <[EMAIL PROTECTED]> wrote: >> How many of these are you creating, one? > > In this very case just one. In fact I am trying to replace what was a modal > dialog before now with non-modal window. So the AppController would need to > make sure there is on

Re: how to release my window controller

2008-08-02 Thread Chris Hanson
On Aug 2, 2008, at 8:23 AM, Torsten Curdt wrote: Let's say in my AppController a new Non-modal window is getting opened like this - (IBAction) buttonOpen:(id)sender { MyWindowController *controller = [[MyWindowController alloc] init]; [controller showWindow:self]; } Of cours

Re: how to release my window controller

2008-08-02 Thread Torsten Curdt
How many of these are you creating, one? In this very case just one. In fact I am trying to replace what was a modal dialog before now with non-modal window. So the AppController would need to make sure there is only one instance. But this raised the general question how to deal with this

Re: how to release my window controller

2008-08-02 Thread Michael Ash
On Sat, Aug 2, 2008 at 11:23 AM, Torsten Curdt <[EMAIL PROTECTED]> wrote: > Hey guys, > > Let's say in my AppController a new Non-modal window is getting opened like > this > > - (IBAction) buttonOpen:(id)sender > { >MyWindowController *controller = [[MyWindowController alloc] init]; >

how to release my window controller

2008-08-02 Thread Torsten Curdt
Hey guys, Let's say in my AppController a new Non-modal window is getting opened like this - (IBAction) buttonOpen:(id)sender { MyWindowController *controller = [[MyWindowController alloc] init]; [controller showWindow:self]; } Of course I will have to release the control