Can iOS store info in stacks?
dixonja at hotmail.co.uk
Mon Sep 26 19:23:30 EDT 2011
You could also place the stack that you wish to use to store your data 'manually' in the documents folder of your app in the iphone simulator folder... and then for example, get the text from fld 1 of the 'other' stack and place it in fld 1 of your stack that is running from the 'engine' folder... You're not doubling up on stacks then
set the defaultFolder to specialfolderpath("documents")
put fld 1 of stack "other.livecode" into fld 1
> Subject: Re: Can iOS store info in stacks?
> From: gerry.orkin at gmail.com
> Date: Tue, 27 Sep 2011 08:23:29 +1000
> To: use-livecode at lists.runrev.com
> Yes - but only in stacks you copy to the device from the app bundle, because you'll need to save the stack to preserve the data and you can't modify the app bundle after it's installed. So you have a stub stack that contains your main stack in the Copy Files pane of the app, and on first launch you copy that stack to the device and your app runs from that stack.
> -- http://gerryorkin.com
> On 27/09/2011, at 4:26 AM, Bill Vlahos <bvlahos at mac.com> wrote:
> > Can I store information in stacks (or custom properties of stack)?
> > If so, where can I find out more info on how to organize them?
> > Bill Vlahos
> > _________________
> > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
> > _______________________________________________
> > 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
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode