【发布时间】:2011-10-16 09:42:24
【问题描述】:
Implicit conversion of 'BOOL' (aka 'signed char') to 'id' is disallowed with ARC
这是我在尝试使用自动化工具将一些代码迁移到 ARC 时遇到的错误
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(vDidFinish)
name:aNotifName
object:NO];
如何确保它符合 ARC 要求?
【问题讨论】:
标签: iphone ios5 automatic-ref-counting