Re: Best practice for creating a temporary file
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