Re: NSWindowController with NSObjectController doesn't dealloc
Re: NSWindowController with NSObjectController doesn't dealloc
- Subject: Re: NSWindowController with NSObjectController doesn't dealloc
- From: Chuck Soper <email@hidden>
- Date: Mon, 11 Oct 2004 10:28:48 -0700
I think that you need to send [self autorelease] from close to ensure
that dealloc gets called. I'm not familiar with NSArrayController.
Chuck
At 6:51 PM +0200 10/11/04, Peter Schmidt wrote:
Hello List,
I have subclassed an NSWindowcontroller class, wich is initialized
by the [myController initWithNibName: @"MyWindow"] Method. In the
Nib-File is an NSArrayController, wich is bound to some UI-Elements.
If I send the WindowController the close-Message my dealloc-Method
won't be called. If I remove the ArrayController it works perfect.
It seems the NSArrayController is still bound to the contentArray.
All bindings are made in the IB. There is no Outlet to the
NSArrayController.
What do I wrong?
Greeting,
Peter
_______________________________________________
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