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:核心思想与源码分析
- 下一篇: 《为自己工作——世界顶级设计师成功法则》