IOS进阶
gohome0620
这个作者很懒,什么都没留下…
展开
-
dispatch_async 与 dispatch_get_global_queue
#define kBgQueue dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)- (void)viewDidLoad{ [super viewDidLoad]; dispatch_async(kBgQueue, ^{ NSData* data = [NSData dataWithCo转载 2013-08-12 11:20:13 · 454 阅读 · 0 评论 -
为UITableView增加左右滑动事件
UITableView 屏蔽了左右滑动事件. 通过重载的方式可以注入事件touch事件, 供开发者使用..//// TouchTableView.h// #import @protocol TouchTableViewDelegate @optional- (void)tableView:(UITableView *)tableView touchesBegin:(NSS转载 2013-08-14 13:22:41 · 1307 阅读 · 0 评论