写了一个用UIScrollView无限浏览图片的demo

nimingzhe2008 2013-08-19 11:49:02
前些日子在一个iPad客户端项目中遇到了一个问题:需要实现大量本地图片的浏览,结果内存不够了。后来使用了开源项目SwipeView解决了问题。SwipeView是基于iCarousel项目创建的,代码很复杂。后来我在苹果的官方文档上看到了对于这种问题的一些提示https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/UIScrollView_pg/ScrollViewPagingMode/ScrollViewPagingMode.html#//apple_ref/doc/uid/TP40008179-CH3-SW4。周六在家闲着没事,就试着自己写了一个无限读取图片的demo.。代码很简单,效果还可以。感兴趣的同学可以到GitHub上下载https://github.com/nimingzhe/infiniteImageScroll
...全文
162 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
RannieR 2013-09-01
  • 打赏
  • 举报
回复
引用 3 楼 sinom 的回复:
[quote=引用 2 楼 nimingzhe2008 的回复:] [quote=引用 1 楼 zay109327402 的回复:] hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs admin~~~ where is admin? can u delete this post?
不知道你在说什么 bu zhi dao ni zai shuo shen me[/quote] 他说你写的东西是软文。。。 估计是正在努力学鸟语的一哥们,到处写鸟语 呵呵[/quote] 赞一个
宇仔TuT 2013-08-31
  • 打赏
  • 举报
回复
hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs admin~~~ where is admin? can u delete this post?
nimingzhe2008 2013-08-31
  • 打赏
  • 举报
回复
引用 1 楼 zay109327402 的回复:
hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs admin~~~ where is admin? can u delete this post?
不知道你在说什么 bu zhi dao ni zai shuo shen me
LichKingSZ 2013-08-31
  • 打赏
  • 举报
回复
引用 2 楼 nimingzhe2008 的回复:
[quote=引用 1 楼 zay109327402 的回复:] hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs admin~~~ where is admin? can u delete this post?
不知道你在说什么 bu zhi dao ni zai shuo shen me[/quote] 他说你写的东西是软文。。。 估计是正在努力学鸟语的一哥们,到处写鸟语 呵呵

29,031

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧