1.
__weak typeof(self) weakSelf = self; [[NSOperationQueue mainQueue]addOperationWithBlock:^{ __strong __typeof(weakSelf) strongSelf = weakSelf; NSLog(@">>>>>>>>>test"); }];