I noticed that Xcode (or rather, the Apple LLVM compiler?) No longer requires direct method calls. In other words, the following code builds without warning:
@implementation Foo -(void) foo { [self bar]; } -(void) bar {} @end
This was used as a warning in -foo
saying that Foo
might not respond to -bar
, right? Is the compiler smarter now or is it something else? Im using Xcode 4.3.1 plus Apple LLVM Compiler 3.1.
source share