
ios
oc小菜
问问
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
GCD的简单使用
dispatch_async(dispatch_get_global_queue(0, 0), ^{ NSLog(@"后台执行"); }); dispatch_async(dispatch_get_main_queue(), ^{ NSLog(@"主线程执行"); }); static disp原创 2015-06-25 14:49:58 · 449 阅读 · 0 评论 -
ios 版本更新
NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary]; NSString *currentVersion = [infoDict objectForKey:@"CFBundleVersion"]; double doubleCurrentVersion = [currentVersion doubl原创 2015-08-03 16:26:50 · 485 阅读 · 0 评论