这会使块泄漏吗?

Will this make the block leak?

这些代码是否会导致块永久分配到内存中?我的意思是,块内部对外部强旋转器的引用?

UIActivityIndicatorView *spinner = (UIActivityIndicatorView *)[cell viewWithTag:1];

[[NSOperationQueue mainQueue] addOperationWithBlock:^{
  [spinner startAnimating];
}];

UIActivityIndicatorView *spinner = (UIActivityIndicatorView *)[cell viewWithTag:1];

[self.queue addOperationWithBlock:^{
  [spinner startAnimating];
}];

不,不会。微调器由其超级视图拥有。变量 spinner 大概是一个局部变量,所以一旦它超出范围,它就会停止保留 spinner。同样,该块运行一次然后停止,因此它不会在完成后保留微调器。