有谁知道这个 LLVM 警告是什么意思:
Method '-retry' not found (return type defaults to 'id') in sourceFile.m
我在 sourceFile.m 的以下行收到此警告:
[self.operation retry];
我的类有一个变量“操作”,它是一个扩展 NSOperation 的自定义类。
MyCustomOperation* operation;
@property (nonatomic, retain) MyCustomOperation* operation;
我的自定义操作类有一个方法:
- (void) retry;
一切似乎都有效,但我肯定很想摆脱我的警告。
谢谢!