Newbie question about deallocing?
Newbie question about deallocing?
- Subject: Newbie question about deallocing?
- From: "Collin VanDyck" <email@hidden>
- Date: Thu, 15 Jan 2004 11:22:36 -0500
Hey
I've got a regular NSApplication built through XCode and Interface Builder.
It is a Cocoa Application, and I have instantiated a subclass of NSObject
(AppController) to act as the main controller for my application.
In my AppController.m file, I have the following method defined:
- (void) dealloc
{
NSLog(@"App Controller deallocating");
[_downloads release];
[_preferenceController release];
[super dealloc];
}
However, I never see this method called. "App Controller deallocating" never
gets written to the console. I would expect that when I quit the application
that my objects that I had instantiated through Interface Builder would
receive a dealloc method call.
I have my app controller acting as a delegate for File's Owner, but I don't
think that would cause this issue.
Any ideas?
thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.