Re: Unable to Terminate Application
Re: Unable to Terminate Application
- Subject: Re: Unable to Terminate Application
- From: "Frederick C. Lee" <email@hidden>
- Date: Tue, 30 Mar 2004 13:51:37 -0800
You're probably right.
I'm a novice at this.
I'm in my application's controller object (MVC) of a simple test
application.
I want to terminate the application manually. For example, when the
user enters null data.
I thought I could just 'terminate' the application. Apparently this is
more involved.
Hence, I would like to know the proper procedure to terminate a Cocoa
application (without documents).
This is a simple application involving a simple window, essentially.
Ric.
On Mar 30, 2004, at 1:19 PM, Markus Hitter wrote:
Am 30.03.2004 um 22:04 schrieb Frederick C. Lee:
- (void)dealloc
{
NSLog(@"Inside dealloc.");
[NSApp terminate];
Are you sure this is good design? From within the child you try to
terminate the parent. The parent whould try to deallocate the child
again ... until stack fills up ...
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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.
_______________________________________________
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.