Property with #39;retain (or strong)#39; attribute must be of object type
生活随笔
收集整理的这篇文章主要介绍了
Property with #39;retain (or strong)#39; attribute must be of object type
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
AFNetworking 2.0 当Deployment Target 低于6.0时,AFURLConnectionOperation.h,AFURLSessionManager.h
@property (nonatomic, strong) dispatch_queue_t completionQueue;因为sdk低于6.0时,dispatch_queue_t ARC没有托管,出现提示错误
Property with 'retain (or strong)' attribute must be of object type改动为
#if OS_OBJECT_USE_OBJC @property (nonatomic, strong) dispatch_queue_t completionQueue; #else @property (nonatomic, assign) dispatch_queue_t completionQueue; #endif总结
以上是生活随笔为你收集整理的Property with #39;retain (or strong)#39; attribute must be of object type的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 《深入理解Spark:核心思想与源码分析
- 下一篇: 《为自己工作——世界顶级设计师成功法则》