Hi, Ender. The ID's will still increase as the app runs - same as in the development environment, but when the app is restarted, the original stack will be loaded and the ID's will start again from their original values.

On 27/01/2014 13:18, Ender Nafi Elekcioglu wrote:
Alan hi,

About second part of your reply: no, I don’t use any stack as a datafile.
For that purpose, I’m using a couple of simple text files and a big SQLite 
database.

The app has a library substack which is static and don’t alter during runtime;
the mainstack has 23 cards which have several hundreds of controls
and the majority of those controls are created on the fly since the content is 
dynamic.
It’s kind of a news app.

About the first part of your reply: I’ve thought this, too, after sending that 
last post.
This is a standalone and there is no way to alter a digitally signed app, right?
We can’t even set or create a new custom property during runtime on iOS.

So, maybe this *ID’s constantly increasing* issue is related merely to the 
development environment.
I should test this as soon as possible.



Regards,

~ Ender

From: Alan Stenhouse Alan Stenhouse
Reply: Alan Stenhouse
Date: January 27, 2014 at 13:21:43
To: use-livecode@lists.runrev.com use-livecode@lists.runrev.com
Subject:  Re: use-livecode Digest, Vol 124, Issue 44
Hi Ender

I can't imagine that once you build your standalone that there will be any 
change at all to the IDs inside it - that shouldn't be possible - unless you're 
opening a separate stack/data file and modifying that?

If it is a "datafile" that you're including/modifying and you're creating so 
much from scratch each time, is it really necessary that it's a separate stack file? Can 
you somehow just save the last status in a text/data file and rebuild on startup?

What is your actual setup for this app?

cheers

Alan
_______________________________________________
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


_______________________________________________
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

Reply via email to