### LazyTableImages ###
===========================================================================
DESCRIPTION:
This sample demonstrates a multi-stage approach to loading and displaying a
UITableView. It displays the top paid iPhone apps on Apple's App Store.
It begins by loading the relevant text from the RSS feed so the table can load
as quickly as possible, then downloads the app images for each row asynchronously
so the UI is more responsive.
===========================================================================
BUILD REQUIREMENTS:
iOS 5.0 SDK or later
===========================================================================
RUNTIME REQUIREMENTS:
iOS 5.0 or later
===========================================================================
PACKAGING LIST:
LazyTableAppDelegate.{h/m} -
The app delegate class that downloads in the background the
"Top Paid iPhone Apps" RSS feed using NSURLConnection.
AppRecord.{h/m} -
Wrapper object for each data entry, corresponding to a row in the table.
RootViewController.{h/m} -
UITableViewController subclass that builds the table view in multiple stages,
using feed data obtained from the LazyTableAppDelegate.
ParseOperation.{h/m}
Helper NSOperation object used to parse the XML RSS feed loaded by LazyTableAppDelegate.
IconDownloader.{h/m}
Helper object for managing the downloading of a particular app's icon.
As a delegate "NSURLConnectionDelegate" is downloads the app icon in the background if it does not
yet exist and works in conjunction with the RootViewController to manage which apps need their icon.
===========================================================================
CHANGES FROM PREVIOUS VERSIONS:
Version 1.0
- First version.
Version 1.1
- Fixed crashing bug in didReceiveMemoryWarning, upgraded project to build with the iOS 4 SDK.
Version 1.2
- Deployment target set to iPhone OS 3.2.
Version 1.3
- Upgraded project to build with the iOS 5 SDK.
- Deployment target set to iOS 5.
- Fixed an analyzer warning in LazyTableAppDelegate.
- Fixed a subtle memory leak in RootViewController.
- Changed ParseOperation to use blocks for its callbacks instead of delegation.
- Updated initial nib loading and app window setup to reflect the most recent recommended practices.
- Renamed a defined constant in IconDownloader to be less confusing.
- Fixed a bug in IconDownloader that may cause a downloaded app icon to not be resized properly.
===========================================================================
Copyright (C) 2012 Apple Inc. All rights reserved.
没有合适的资源?快使用搜索试试~ 我知道了~
UITableView网络图片加载优化 延迟加载
共24个文件
m:6个
png:6个
h:5个
4星 · 超过85%的资源 需积分: 48 24 下载量 74 浏览量
2013-08-20
22:35:47
上传
评论 1
收藏 51KB ZIP 举报
温馨提示
UITableView 中显示网络图片,延迟加载 缓存机制,UITbaleView优化后滚动流畅,并且流量控制到位.体验极好
资源推荐
资源详情
资源评论
收起资源包目录
LazyTableImages.zip (24个子文件)
LazyTableImages
LazyTable_Prefix.pch 187B
main.m 3KB
images
Icon-Small@2x.png 1010B
Default.png 13KB
iTunesArtwork 5KB
Icon.png 1007B
Icon-Small.png 918B
Icon@2x.png 1KB
Placeholder.png 711B
LazyTableImages.xcodeproj
project.pbxproj 17KB
Info.plist 1KB
en.lproj
RootViewController.xib 8KB
MainWindow.xib 12KB
Classes
ParseOperation.h 3KB
IconDownloader.h 4KB
AppRecord.h 3KB
RootViewController.h 4KB
LazyTableAppDelegate.m 10KB
AppRecord.m 3KB
LazyTableAppDelegate.h 3KB
RootViewController.m 9KB
ParseOperation.m 7KB
IconDownloader.m 5KB
ReadMe.txt 3KB
共 24 条
- 1
资源评论
- vecentq19882014-12-02呵呵,对我来说用处不大,太初级了。
- gzpqt2013-09-16用处不大,
- gaoyp2013-08-21挺常见的一份代码了。
- Bo_Lee2013-10-18很一般的代码
pantie05
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功