11 2014 档案
摘要:今天下午开始给我的app的下载功能写删除下载的逻辑在这个逻辑中,点击了删除按钮后: 1,当该cell正处于下载中时 1,首先暂停全部cell 2,删除该cell 3,开始下载其他手动开始的cell 2,当该cell处于下载暂停中时 1,其他cell正在下载,暂停全...
阅读全文
摘要:NSString* searchString = [[searchBar.text componentsSeparatedByCharactersInSet:[[NSCharacterSet letterCharacterSet] invertedSet]] componentsJoinedByS...
阅读全文
摘要:+ (float)calculateFileSizeInUnit:(unsigned long long)contentLength{ if(contentLength >= pow(1024, 3)) return (float) (contentLength / (float...
阅读全文