Data Engine By Nestor

Here is a util to deal with data made by myself. You can use a variable for all scenes to save the data. and put this component into scene which need to interaction with data. Bind them then you can easily deal with it.

Data Format:
Key1:Value1###Key2:Value2###...
Key1:Value1###Key2:Value2###...

use `###` between K-V pairs, type a return at the end of every line, include the last line of data.

Features:
- fetch data for a line evey time, you will get "EOF" if there is no more data;
- fetch a value for key at specified line;
- search for a string to check if it exists and get line number if true;
- fetch a line for a specified line index;

I made a login demo with this Data Engine, and a other demo to use data engine set mutiple cells, just like `Repeator` in Axure RP. You can see it by open this link:

https://cloud.protopie.io/p/5950fc0328

PS: The cell demo will cause a display bug when preview online, I will fix it later.

More by Nestor

View profile