Storing data on iOS

Terry Judd terry.judd at unimelb.edu.au
Wed Jul 25 16:16:24 EDT 2012


I use the cache folder, the assumption being that is fairly unlikely that it will be cleared.

Terry...

On 26/07/2012, at 05:35 AM, Monte Goulding wrote:

> Hmm... Do you mean backed up as in iTunes/iCloud? That would appear to be unnecessary. I think cache is only cleared in low storage situations so it might be appropriate from the users perspective. Otherwise I'd go with documents folder with the do not backup property set.
> 
> Cheers
> 
> --
> M E R Goulding
> Software development services
> 
> mergExt - There's an external for that!
> 
> On 26/07/2012, at 4:39 AM, "J. Landman Gay" <jacque at hyperactivesw.com> wrote:
> 
>> For those who have gone before me:
>> 
>> I have some files that are downloaded from a server and stored on the device. The files will be updated periodically. I don't want to download them repeatedly unless they've changed.
>> 
>> Apple says not to store data in the documents folder if it can be retrieved from elsewhere. That makes me think I should keep it in the cache folder. But I'd rather it was backed up so the user doesn't need an internet connection if they want to use the app and the cache has been wiped.
>> 
>> Where would you store the files?
>> 
>> -- 
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> 





More information about the use-livecode mailing list