第30月第8天 主线程执行
1.
__weak typeof(self) weakSelf = self; [[NSOperationQueue mainQueue]addOperationWithBlock:^{ __strong __typeof(weakSelf) strongSelf = weakSelf; NSLog(@">>>>>>>>>test"); }];
1.
__weak typeof(self) weakSelf = self; [[NSOperationQueue mainQueue]addOperationWithBlock:^{ __strong __typeof(weakSelf) strongSelf = weakSelf; NSLog(@">>>>>>>>>test"); }];