UITableView行异步加载 [英] UITableView rows load asynchronously

查看:94
本文介绍了UITableView行异步加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

启动应用后, 我想显示10行, 在底部的再加载15个"中, 点击再加载15个"后,接下来的15行应添加到表格底部 并再次显示再加载15个",直到找不到行. 注意:我正在使用php将表数据作为xml提要加载. 如果有人有任何教程/示例代码,请给我发送链接

On launch of app, i want to show 10 rows, at the bottom "Load 15 more", on click on "Load 15 more" the next 15 rows should add to the bottom of the table and again show "Load 15 more", until no rows found. note: I am using php to load table data as an xml feed. If anyone has any tutorial/sample code pl send me the link

推荐答案

我写了一些可能对您有用的东西: https://github .com/nmondollot/NMPaginator

I wrote something that might be useful to you : https://github.com/nmondollot/NMPaginator

它封装了分页,几乎可以与任何Web服务一起使用.它还具有一个UITableView,可以在向下滚动时自动获取下一个结果.

It encapsulates pagination, and works with pretty much any webservice. It also features a UITableView with automatic fetching of next results as you scroll down.

这篇关于UITableView行异步加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆