IgniteEngine-iOS icon indicating copy to clipboard operation
IgniteEngine-iOS copied to clipboard

Data Storage and manipulation

Open garazi opened this issue 10 years ago • 1 comments

We need a way to define/create arrays or a dictionary to be used as a datasource without having to make a REST call or load a local JSON.

Simple use case - the ubiquitous MVC To-Do app. You have a text input and each time you type an item and hit return (or press a button), it adds the inputField.text to the list. (Or more precisely, it adds it to the Array that is used as the datasource for the list (Tableview or Collection)).

For the datasource object, a key could be added to "source": "remote/local/memory" where memory would indicate a JSON being created as I described above.

Alternatively, locally loaded JSON's could be set as read-only, or read/write...

garazi avatar Mar 20 '15 23:03 garazi

In a nutshell:

brandonscript avatar Mar 20 '15 23:03 brandonscript