Re: Close button on Single Window Utilities
Re: Close button on Single Window Utilities
- Subject: Re: Close button on Single Window Utilities
- From: Wade Tregaskis <email@hidden>
- Date: Wed, 20 Nov 2002 01:35:45 +1100
Your app should quit on window close if:
(a) It has only one window (excluding any sheets/drawers that may be
attached)
(b) It has no reason to run all the time
Working Example: Address Book (address book functionality available
through system frameworks, not through Address Book app)
Broken Example: System Preferences (should quit when window closed)
Your app should *not* quit on window close if:
(a) It is document based or in most other ways multi-window
(b) It needs to be running to perform it's duties
Working Examples: iTunes (must remain open to play music),
Preview/TextEdit/etc (document based, therefore you may wish to
open/create a document at some point)
On a personal note, it drives me insane that System Preferences won't
get lost when I close it. If I wanted it open all the time, I wouldn't
close it's one and only window.
Wade Tregaskis
_______________________________________________
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.