• 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: Question about the Foundation Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about the Foundation Framework


  • Subject: Re: Question about the Foundation Framework
  • From: Graham Lee <email@hidden>
  • Date: Thu, 19 Feb 2009 17:42:57 +0000
  • Acceptlanguage: en-US, en-GB
  • Thread-topic: Question about the Foundation Framework

On 19/02/2009 15:36, "Michael Ash" <email@hidden> wrote:

> If you're looking for more information, note that NSTemporaryDirectory
> is essentially equivalent to /tmp on a normal UNIX system, although
> it's actually in a different location.

Hi Mike,

that's not quite true, NSTemporaryDirectory() should be somewhere like:
/var/folders/6G/6GtcG4aOHt0FanslHMn1Hk+++TI/-Tmp-/
which includes the security session ID in the path. That means that even if
the same user is running your Foundation code multiple times in different
login sessions, they won't be able to clobber each other.

Cheers,
Graham.
--
Graham Lee
Senior Macintosh Software Engineer, Sophos Plc.
+44 1235 540266
http://www.sophos.com/


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
_______________________________________________

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: 
 >Re: Question about the Foundation Framework (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Converting .wav files to MP3
  • Next by Date: Open window from nib in foreground
  • Previous by thread: Re: Question about the Foundation Framework
  • Next by thread: How to make nspopupbuttoncell only show litems when click arrow?
  • Index(es):
    • Date
    • Thread