Re: NSFileManager, 10.3.x and /tmp: bug?
Re: NSFileManager, 10.3.x and /tmp: bug?
- Subject: Re: NSFileManager, 10.3.x and /tmp: bug?
- From: Jim Correia <email@hidden>
- Date: Sun, 16 Jan 2005 12:57:14 -0500
On Jan 16, 2005, at 12:07 PM, John Stiles wrote:
I think you might want FSFindFolder. It will return a path to
"/tmp/501/Temporary Items/", and guarantees that the path it gives you
exists. You will need to call FSRefMakePath to convert its return
value to a path.
NSTemporaryDirectory() is the Cocoa equivalent of FSFindFolder with the
temporary directory constant. (In fact, in its current implementation,
it returns the exact same directory. You shouldn't reply on that though
- just that it will return you a directory suitable for putting temp
files in.)
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden