摘要: SQL 随笔,以后再整理update dsong set ratesp = (select 1.0*skiptime/playtime from song where song.filename=dsong.songname) where dsong.songname = (select filename from song where song.filename = dsong.songname)update dsong set maxpcontinue = (SELECT max(pcontinue) FROM skipinfor where skipinfor.filename = ds 阅读全文
posted @ 2013-01-14 07:21 Homer Zuo 阅读(226) 评论(0) 推荐(0)
摘要: 总结下今天学习到的文件系统知识IOS用的是sandbox文件结构,意味这一个APP只能访问他自己的文件夹。每个APP自己的文件架构大致如下 1 <root> 2 3 <Documents> 4 ........ 5 </Documents> 6 7 <Library> 8 ...... 9 </Library>10 11 <***.app>12 ......13 </***.app>14 15 <tmp>16 ......17 </tmp>18 19 </root>能用代码进 阅读全文
posted @ 2012-11-16 05:44 Homer Zuo 阅读(2141) 评论(0) 推荐(0)
摘要: 1.solve the file sharing in ITunesinfo.plistApplication supports iTunes file sharing为YES.路径1 -(NSString*)shareFilePath:(NSString*)filePath {2 NSArray *paths =NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);3 NSString*documentsDirectory = [paths objectAtIndex:0];... 阅读全文
posted @ 2012-11-15 03:14 Homer Zuo 阅读(187) 评论(0) 推荐(0)