【发布时间】:2012-01-11 04:49:08
【问题描述】:
可能重复:
Under automatic reference counting, why are retain, release, and dealloc not allowed?
我想在 xcode 4.2 中释放变量。当我释放它时,它会给我一个错误。 错误是自动引用计数禁止显式发送'release'的消息
已编辑:
下面标记的答案对我有用,而且我也没有意识到这个问题已经被问到了。无论如何,编码愉快.. :)
【问题讨论】: