My application
- UITableView has 200 rows
- In edit mode each cell has two actions for eg: passAction and failAction
- After editing i want to update the database with either 0 or 1 based on its selection
- I am retrieving data from server as json and storing it as object
Which is Best?
a. Requesting the server on each time the action is called.
b. Storing it in the local database and sync on completing all rows.
c. Request the server once on completion and send the whole object as JSON.
Help me in choosing the best option of implementation I can do!
Correct me if I bypassed any rules of SO because this is my first question!