不兼容的块指针类型发送
(void) start
{
//some code
__block NSError *dependentError = nil;
[self.dependencies enumerateObjectsUsingBlock:^(CustomBaseOperationLoader *operation, NSUInteger idx, BOOL *stop) {
if (operation.operationError != nil) {
dependentError = [operation.operationError copy];
*stop = YES;
}
}
];
}
不兼容的块指针类型发送'void (^)(CustomBaseOperationLoader * __ strong,NSUInteger,BOOL *)'到 'void(^ _Nonnull)类型的参数(NSOperation * _Nonnull __strong, NSUInteger,BOOL * _Nonnull)'