On Wed, Jan 14, 2009 at 7:24 PM, Chris Parker <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to