• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Close button on Single Window Utilities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Close button on Single Window Utilities (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: Changing text color for NSTableView
  • Next by Date: Queries on Date Problems
  • Previous by thread: Re: Close button on Single Window Utilities
  • Next by thread: Re: Close button on Single Window Utilities
  • Index(es):
    • Date
    • Thread