[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions on NSApplication
From: |
Adam Fedor |
Subject: |
Re: Questions on NSApplication |
Date: |
Tue, 12 Dec 2000 10:18:04 -0700 |
Fred Kiefer wrote:
>> Question now: Is this the way everything should work together or did I
> get something totally wrong? I did not look up the old OpenStep
> documentation on that, just used the new from Apple to understand what
> should be done.
>
Sounds close, although it looks like -stop: should just set something
like 'app_should_stop' and not do all the stuff -terminate: does like
send a delegate message, etc. -run should be changed to be reenterable,
as you said. It also looks like -run should actually dealloc the shared
application and exit() when app_should_quit=YES, -terminate: could stay
the same. Is that more-or-less what you are thinking?