Re: Garbage collection and about windows

2009-11-11 Thread Matt Neuburg
On Wed, 11 Nov 2009 18:16:11 -0500, Ben Haller bhcocoa...@sticksoftware.com said: This policy seems to imply that windows can live on their own, without a reference to them from the outside world (because the window list references them), but panels cannot; a panel has to be strong- referenced

Garbage collection and about windows

2009-09-08 Thread Ben Haller
Hi all. I'm just getting into my first garbage collected Cocoa project, and I'm a bit mystified by the behavior I'm seeing. I'm just trying to make a custom about panel. I put this method in my application delegate: - (IBAction)orderFrontAboutPanel:(id)sender { if

Re: Garbage collection and about windows

2009-09-08 Thread Bill Bumgarner
On Sep 8, 2009, at 6:45 PM, Ben Haller wrote: My idea — perhaps being too clever for my own good — was that as long as the about window was open, the window would be referenced by the window list, and so the window and its controller would stick around. Choosing the About menu item a