• 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 18:15:11 -0700

> On Sep 2, 2014, at 4:18 PM, Quincey Morris <email@hidden> wrote:
>
> Then is there any downside to letting it appear beside the final location?

It's not the location that bugs me, so much as that it never gets cleaned up. So the parent directory starts accumulating more and more of these empty "(Document being saved by XXX #nnn)" directories, because the old directory got left behind and a new one gets created on the next launch.

> IIRC, in iOS the recommendation is to put documents inside a “Documents” subfolder

These aren't documents in that sense; they're attachments to database records in Couchbase Lite.

—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


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>)
 >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: Resizing issue with NSSplitView
  • 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