• 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: Quincey Morris <email@hidden>
  • Date: Tue, 02 Sep 2014 23:18:28 +0000

On Sep 2, 2014, at 16:10 , Jens Alfke <email@hidden> wrote:

> This is on iOS.

Then is there any downside to letting it appear beside the final location? Where does an app like Pages create its autosaves? (AFAIK, autosave uses this same API for its temp folder.)

IIRC, in iOS the recommendation is to put documents inside a “Documents” subfolder of your application sandbox folder, leaving you free to put other folders at the “top” sandbox level. At worst, you could make a temporary folder of your own at that top level, and that would keep it separate from the final location, if it turns out to matter.



_______________________________________________

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: Jens Alfke <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>)
 >Re: Best practice for creating a temporary file (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Best practice for creating a temporary file
  • Next by Date: Re: My services in my own app
  • 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