Changes between Version 13 and Version 14 of entity
- Timestamp:
- 12/09/2011 05:22:04 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
entity
v13 v14 121 121 - (void)save; 122 122 123 - (BOOL)isLoading; 124 123 125 124 126 下载队列(DownloadQueue): … … 127 129 128 130 + tasks : NSArray 元素为下载任务,下载完成之后将该元素序列化。 131 132 + (void)startTaskAtIndex:(NSInteger)idx; 133 134 + (void)stopTaskAtIndex:(NSInteger)idx; 135 136 + (void)deleteTaskAtIndex:(NSInteger)idx; 137 138 + (BOOL)isFull; 139 140 + (BOOL)isLoading; 141 142 + (void)notifyWhenDone; // 是所有任务都下载的时候通知,还是没有等待中任务也通知? 129 143 130 144 + (void)enqueue:(DownloadTask *)task; … … 204 218 首页(homepage_1)的存储结构。jsons文件夹存储首页下载的所有json文件;albums文件夹存储了首页下载的所有图集封面图片,全部以album-id命名。每次更新完jsons都要删除掉过期的图片,也就是说删除掉jsons里没有提到的album封面。 205 219 - documents/ 206 - home /220 - home/ 207 221 - jsons/ 208 222 - albums/
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)