• 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: /tmp folder ok?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /tmp folder ok?


  • Subject: Re: /tmp folder ok?
  • From: "Kyle Sluder" <email@hidden>
  • Date: Wed, 14 Jan 2009 19:34:12 -0500

On Wed, Jan 14, 2009 at 7:24 PM, Chris Parker <email@hidden> wrote:
> You should just use NSTemporaryDirectory().

Do not just use NSTemporaryDirectory if you need to perform an atomic
save operation (write new data to location X and then overwrite old
data at location Y by moving X -> Y).  If will not work if the
destination is on a different volume from the source.

In this case you must use FSFindFolder with the volume reference
number of the volume on which you wish to save your data.  Read
FSFolder.h for more information.

--Kyle Sluder
_______________________________________________

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: 
 >/tmp folder ok? (From: "Chunk 1978" <email@hidden>)
 >Re: /tmp folder ok? (From: Graham Cox <email@hidden>)
 >Re: /tmp folder ok? (From: "Chris Parker" <email@hidden>)

  • Prev by Date: Re: /tmp folder ok?
  • Next by Date: Re: Report writer for Cocoa?
  • Previous by thread: Re: /tmp folder ok?
  • Next by thread: IKImageView setImage only works once.
  • Index(es):
    • Date
    • Thread