Implicit conversion of 'BOOL' (aka 'signed char') to 'id' is disallowed with ARC
This is the error I get when trying to migrate some code to ARC with the automated tool
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(vDidFinish)
name:aNotifName
object:NO];
How can I make sure it complies with the ARC reqs?
You should use the correct type for the fourth argument (the notification sender). It expects an Objective-C object — if you don’t want to specify one, pass
nilinstead ofNO; the latter is a literal value of type BOOL.