ios - Loading data from api to tableview -


i need load large set of messages backend api tableview ios chat app.each time reload data whole list populated.how more without loading whole list ? load last 20 messages , when user scrolls fetch next 20(last 40 messages) backend. appreciated. thanks

i dont know how go this. imagine call api

- (uitableviewcell *)tableview:(uitableview *)tableview cellforrowatindexpath:(nsindexpath *)indexpath 

in way call api every time cell on screen. problem approach how ever calling api every time cell goes in , out of screen.


Comments

Popular posts from this blog

android - Automated my builds -

c# - Create a custom control in Corel Draw X6 using only VSTA -

ruby on rails - Difference between "Redmine on Heroku" and "Installing Redmine" documentation -