Storing data on iOS

Monte Goulding monte at sweattechnologies.com
Wed Jul 25 15:35:02 EDT 2012


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
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list