• 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: NSFileManager, 10.3.x and /tmp: bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: NSFileManager, 10.3.x and /tmp: bug?
      • From: Chris Parker <email@hidden>
References: 
 >Re: NSFileManager, 10.3.x and /tmp: bug? (From: The Karl Adam <email@hidden>)
 >Re: NSFileManager, 10.3.x and /tmp: bug? (From: Stéphane Sudre <email@hidden>)
 >Re: NSFileManager, 10.3.x and /tmp: bug? (From: The Karl Adam <email@hidden>)
 >Re: NSFileManager, 10.3.x and /tmp: bug? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Value transformers and app delegates
  • Next by Date: Re: Changing Bundle Name
  • Previous by thread: Re: NSFileManager, 10.3.x and /tmp: bug?
  • Next by thread: Re: NSFileManager, 10.3.x and /tmp: bug?
  • Index(es):
    • Date
    • Thread