Re: /tmp folder ok?
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