xcode10_beta:block内_出现self替换警告

新版本xcode10在使用block时,如果使用全局变量会出现:self->去替换_的警告;

处理:在Build Setting中设置Implicit retain of ‘self’ within blocks为NO;
如下图所示:
image