ios - Multiple async request to create a dynamic table view in objective c -


i developing new ios app. in app, have slide menu. want create menu dynamically async requests. it's kind of new linkedin menu 1 :

linkedin menu

this menu updates 1 of rows of table view automatically every ten seconds (or less) , in other row have of profile information (name , picture...) , can update messages , notification icons.

i know how manage of these requests @ same time. going use afnetworking, think best option. not know how manage multiple async requests , set date in table view.

i want 1 of row update every ten seconds request, other rows have created other requests, example, first row, profile info(name, picture...), second row: offers (updating every ten seconds). third, fourth , on. friends rows info request. need @ least 3 requests. example, want similar

you should keep shadow data structure of table view - data model. when asynchronous data comes in update model, dispatch block update ui on main thread.

the ui update method asks table view array of visible cells. compares these data model (with proper locks) , updates cell content needed.

by using table section may have easier time determining when insert or delete cells.

when user scrolls table @ model content display.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -