Re: dealloc never called
Re: dealloc never called
- Subject: Re: dealloc never called
- From: Philipp Ringli <email@hidden>
- Date: Mon, 7 Feb 2005 02:48:16 +0100
Awesome! That was it. Thanks Agent M!
I opened the NIB and control-dragged from File's Owner to Controller
and chose to connect delegate.
Phil
On 07.02.2005, at 02:51, Agent M wrote:
Make sure your controller is the delegate of the NSApplication:
[NSApp setDelegate:obj];
On Feb 6, 2005, at 8:38 PM, Philipp Ringli wrote:
Won't work either. :(
also this...
- (void)applicationWillTerminate:(NSNotification *)aNotification
{
NSLog(@"terminating!\n");
}
... never makes it to the log.
Maybe I am missing something basic, that I should have done in IB?
¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬
AgentM
email@hidden
¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬ ¬
_______________________________________________
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