Unable to Terminate Application
Unable to Terminate Application
- Subject: Unable to Terminate Application
- From: "Frederick C. Lee" <email@hidden>
- Date: Tue, 30 Mar 2004 12:04:08 -0800
Greetings:
I tried to terminate an application manually, by calling my 'dealloc'
method. In it, I have [NSApp terminate] to terminate the application.
It appeared to be straight forward, but I've encountered the
'...selector not recognized'.
Question: what selector? ... and what's the remedy?
Thanks in advance!
...meanwhile, I'm thumbing through the books.
Ric.
- (void)dealloc
{
NSLog(@"Inside dealloc.");
[NSApp terminate];
[myAreaCode release];
// pass the ball to Controller's parent class so it can do its own
deallocation
[super dealloc];
}
====================================================
2004-03-30 11:53:06.280 AreaCode[3711] Inside dealloc.
2004-03-30 11:53:06.281 AreaCode[3711] *** -[NSApplication terminate]:
selector not recognized
2004-03-30 11:53:06.281 AreaCode[3711] Exception raised during posting
of notification. Ignored. exception: *** -[NSApplication terminate]:
selector not recognized
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.