Possible Duplicate:
Double parentheses in sample code
Often the init
method in an Objective-C class will have the following line:
if ((self = [super init])) { ...
I'm just wondering if the extra parentheses are necessary. Is the following line equivalent?
if (self = [super init]) { ...
Edit: This is indeed a duplicate of Double parentheses in sample code