I have recently (e.g. just now) upgraded to XCode 4, and I like it overall, however, there is one thing that annoys me.
When I write code like this:
You can either put an additional set of parentheses in the if statement
if ((self = [super init])) {
...
}
Or, you can do as the new templates do.
self = [super init];
if(self) {
...
}
Double parenthesize it.
if ((self = [super init]))
It's just making sure you really know what you're doing.
I'm unsure if there is any way to silence the actual warning in XC4, as it isn't a compiler warning.