• 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: Scott Ribe <email@hidden>
  • Date: Tue, 02 Sep 2014 14:31:31 -0600

Maybe you could:

- write the temp path into a file in Application Support or someplace where you can read it at launch
- make a temp invisible file at that temp path in the actual destination folder
- rename the temp invisible file and make it visible
- clear the temp path where you'd written it before

Then at launch you can always check the location where you put temp paths, to see if there's any cleanup that was missed previously.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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: Kyle Sluder <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: 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