I've created a quick application that lists Hotels and Rooms. I've created a backend with Rails and postgresql, and I've got it up on heroku. I'm using JSON to pass information back and forth betwene my iOS front end.
Here's what I'm wondering. Let's say you have a TableViewController with a UIBarButtonItem for adding new items. The new item is added, and the view should update.
How do you do this? Right now my app retrieves from the server again which seems stupid.
I might already have 50 items in the list. If I add a new item, the server is hit again to now retrieve 51 items.
What's the best way to go about this?