@H_301_1@我正在升级一个iOS 4项目,使用它与ARC与sdk5.
所以我想使用自动重构方法将代码转换为使用ARC.
不幸的是它不工作我收到很多错误..
所以我想使用自动重构方法将代码转换为使用ARC.
不幸的是它不工作我收到很多错误..
for(id* child in childObjectArray){ [child removeParentGroupReferences]; }
Pointer to non-const type ‘id’ with no explicit ownership
有什么帮助吗?我需要改变什么?
感谢任何帮助..
解决方法
将id *更改为id. id已经被定义为一个对象指针.