博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AFNetworking Property with 'retain (or strong)' attribute must be of object type
阅读量:4626 次
发布时间:2019-06-09

本文共 422 字,大约阅读时间需要 1 分钟。

由于sdk低于6.0时,dispatch_queue_t  ARC没有托管,出现提示错误,修改为:

#if OS_OBJECT_USE_OBJC@property (nonatomic, strong) dispatch_queue_t completionQueue;#else@property (nonatomic, assign) dispatch_queue_t completionQueue;#endif

 

#if OS_OBJECT_USE_OBJC@property (nonatomic, strong) dispatch_group_t completionGroup;#else@property (nonatomic, assign) dispatch_group_t completionGroup;#endif

 

转载于:https://www.cnblogs.com/yangzhifan/p/6132844.html

你可能感兴趣的文章
Leetcode:Count and Say
查看>>
jQuery中getJSON跨域原理详解
查看>>
洛谷——P2341 [HAOI2006]受欢迎的牛//POJ2186:Popular Cows
查看>>
WebKit、Gecko使用图形库
查看>>
babel
查看>>
JVM GC 垃圾回收(二)之 判断那些可回收,怎么回收
查看>>
图片模糊处理
查看>>
oracle 如何预估将要创建的索引的大小
查看>>
剑指Offer——平衡二叉树
查看>>
链式前向星(模板)
查看>>
第八周周总结
查看>>
【转】Word2007中不连续页码设置 多种页码设置
查看>>
css 3
查看>>
2017《面向对象程序设计》寒假作业一
查看>>
牛客国庆集训派对Day6 B.Board
查看>>
JS实现网址生成二维码
查看>>
Codeforces Gym100812 L. Knights without Fear and Reproach-扩展欧几里得(exgcd)
查看>>
SPOJ GSS3-Can you answer these queries III-分治+线段树区间合并
查看>>
js控制使div自动适应居中
查看>>
java对象和类
查看>>