• 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: Question about the Foundation Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about the Foundation Framework


  • Subject: Re: Question about the Foundation Framework
  • From: Andreas Monitzer <email@hidden>
  • Date: Thu, 19 Feb 2009 17:29:17 +0100

On Feb 19, 2009, at 16:36, Michael Ash wrote:

Nothing to do with OOP, it's just good practice on the system.
Temporary files go in the temporary directory. There are several
reasons why this is a good idea:

- The temporary directory gets cleaned out regularly by the system. If
you forget to delete the file or your app crashes or something else
like that goes wrong, your temporary file won't sit around on the
user's HD forever taking up space.

- It's hidden and out of the way, so users aren't bothered by seeing
temporary files they don't care about pop up in their home directory
somewhere.

- It's local even when the home directory itself is not. For example,
if the user's home directory is stored on a network server, it's
wasteful to put temporary files on that network server too when
they're only needed locally.

Additionally, files in the temporary directory are ignored by Time Machine automatically.


andy

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Question about the Foundation Framework (From: Michael <email@hidden>)
 >Re: Question about the Foundation Framework (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Question about the Foundation Framework
  • Next by Date: How to make nspopupbuttoncell only show litems when click arrow?
  • Previous by thread: Re: Question about the Foundation Framework
  • Next by thread: Re: Question about the Foundation Framework
  • Index(es):
    • Date
    • Thread