Storing and saving a setting in a stand alone
Kay C Lan
lan.kc.macmail at gmail.com
Thu Jan 15 22:31:04 EST 2015
On Fri, Jan 16, 2015 at 8:40 AM, Richard Gaskin <ambassador at fourthworld.com>
wrote:
On the contrary, as the rest of your post points out, it's increasingly
> useful as OS file system permissions get ever more restrictive.
>
Yes Scott,you are right it's still a valid method, but it's not a method
that works for all platforms and for a product who's key feature is that it
is cross platform, desktop and mobile, I see it being counter productive to
provide an example that isn't.
Thanks Richard but I don't need your data path handlers because as you say,
everyone's written their own; which goes back to your original question and
my answer. Because everyone has rolled their own user data path handlers,
user data is being saved in the correct place, whether it's a txt file, a
data stack or one of the many other methods you mention.
This problem comes up when those new to programming and/or LC follow an
example How-To that doesn't work for all platforms and/or goes against OS
guidelines. Saving User Data is a basic app requirement, the example given
should work on ALL platforms.
IMO if the How-To example used one of the many other options, but one that
works on ALL platforms, then we'd get less 'How do I save User Data
questions'. Certainly less than 'How do I save my App and User Data in a
single location and still have it work'.
More information about the use-livecode
mailing list