object_setInstanceVariable is unavailable: not available in automatic reference counting mode
来源:互联网 发布:51我爱网球网淘宝 编辑:程序博客网 时间:2024/05/29 09:55
object_setInstanceVariable is unavailable: not availablein automatic reference counting mode
翻译过来意思是object_setInstanceVariable不能再ARC的模式下使用
解决方法:
1.要么把XCODE项目改成MRC
2.要么换一个方法,本人测试,可以换objc_setAssociatedObject方法来替代
1 0
- object_setInstanceVariable is unavailable: not available in automatic reference counting mode
- NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 'release' is unavailable: not available in automatic reference counting mode..
- 'release' is unavailable: not available in automatic reference counting mode..
- 'release' is unavailable: not available in automatic reference counting mode
- 'release' is unavailable: not available in automatic reference counting mode
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0)
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0)
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode
- 错误:'release' is unavailable: not available in automatic reference counting mode.(Xcode 4.6.2+iOS6.1)
- 错误:'release' is unavailable: not available in automatic reference counting mode..(Xcode4.2.1+iOS5.0
- 'release' is unavailable: not available in automatic reference counting mode解决方案
- 关于NSAutoreleasePool' is unavailable: not available in automatic reference counting mode的解决方法 .
- 'release' is unavailable: not available in automatic reference counting modeAutomatic
- release' is unavailable: not available in automatic reference counting modeAutomatic
- R中关于name的函数
- 使用NSURLConnection 异步回调下载文件 下载文件的误区和解析 (断点续传)(UI刷新)
- GetVersionEx的降级问题
- RTSP协议介绍
- android Bitmap的内存管理
- object_setInstanceVariable is unavailable: not available in automatic reference counting mode
- 将字符串表示的字母转换成对应的字符类型的变量
- 排序之插入排序
- React Tips
- 第四届 蓝桥杯 第三题 第39阶台阶 搜索 解题报告
- Mysql四种模糊查询
- Normal Mapping 法线贴图
- 解决WebBrowser显示HTML乱码问题
- Java Swing 弹出退出提示框(代码示例)