• 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: Best practice for creating a temporary file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practice for creating a temporary file


  • Subject: Re: Best practice for creating a temporary file
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 02 Sep 2014 16:10:06 -0700

> On Sep 2, 2014, at 4:05 PM, Quincey Morris <email@hidden> wrote:
>
> I get a URL to a new folder in the private (secure) temporary directory, and *not* in the parent of ‘importURL’. I don’t know why you’re seeing something different.

This is on iOS. (On Mac OS I do see the file appear in the temporary directory of the appropriate volume.)

I suppose I could conditionalize my code and use NSTemporaryDirectory() on iOS, since there won't be multiple volumes there.

—Jens
_______________________________________________

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


  • Follow-Ups:
    • Re: Best practice for creating a temporary file
      • From: Kyle Sluder <email@hidden>
    • Re: Best practice for creating a temporary file
      • From: Quincey Morris <email@hidden>
References: 
 >Best practice for creating a temporary file (From: Jens Alfke <email@hidden>)
 >Re: Best practice for creating a temporary file (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Best practice for creating a temporary file
  • Next by Date: Re: Best practice for creating a temporary file
  • Previous by thread: Re: Best practice for creating a temporary file
  • Next by thread: Re: Best practice for creating a temporary file
  • Index(es):
    • Date
    • Thread