from liveCodes' mobile release notes...
When an application is installed on a phone (or in the simulator) a number of
initial folders are
created for use by the application. You can locate the paths to these folders
using the
specialFolderPath() function with the following selectors:
• home – the (unique) folder containing the application bundle and its
associated data and
folders
• documents – the folder in which the application should store any document
data (this folder
is backed up by iTunes on sync)
• cache – the folder in which the application should store any transient data
that needs to be
preserved between launches (this folder is not backed up by iTunes on sync)
• library – the folder in which the application can store data of various
types. In particular,
data private to the application should be stored in a folder named with the
app's bundle
identifier inside library. (this folder is backed up by iTunes on sync).
• temporary – the folder in which the application should store any temporary
data that is not
needed between launches (this folder is not backed up by iTunes on sync)
• engine – the folder containing the built standalone engine (i.e. the bundle).
This is useful for
constructing paths to resources that have been copied into the bundle at build
time.
In general you should only create files within the documents, cache, and
temporary folders. Indeed,
be careful not to change or add any files within the application bundle. The
application bundle is
digitally signed when it is built, and any changes to it after this point will
invalidate the signature
and prevent it from launching.
36
Date: Sat, 13 Dec 2014 09:29:33 -0800
From: ethanl...@gmail.com
To: use-livecode@lists.runrev.com
Subject: Apple app upgrade advice
Hello,
I have a great deal of localization set in an iOS app and want to make sure I
store it in the correct location so that it will persist a application
upgrade.
Is there any documentation to assist / provide guidance like;
- data stored on the stack will be lost with upgrades
- data stored in SQLite database will beif kept in the documents
folder
- data stored in settings will be
Clearly data stored on a server can persist but I'm looking for local options
Ethan@Lish.net240.876.1389
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode