This question already has an answer here:
这个问题在这里已有答案:
- What property should I use for a Dispatch Queue after ARC? 5 answers
- ARC之后我应该使用什么属性用于Dispatch Queue? 5个答案
Updated my project to AFNetworking
, Xcode show this error:
将我的项目更新为AFNetworking,Xcode显示此错误:
@property (nonatomic, strong) dispatch_queue_t completionQueue;
Property with 'retain or strong
' attribute must be of object type.
具有“保留或强”属性的属性必须是对象类型。
I cannot understand why the official example there is no error warning?
我不明白为什么官方的例子没有错误警告?
1 个解决方案
#1
21
I get it, because I test on iOS5, dispatch_queue_t is objcet begin at iOS6
我明白了,因为我在iOS5上测试,dispatch_queue_t是从iOS6开始的objcet
#1
21
I get it, because I test on iOS5, dispatch_queue_t is objcet begin at iOS6
我明白了,因为我在iOS5上测试,dispatch_queue_t是从iOS6开始的objcet