Le 10 mai 2010 à 22:24, David Duncan a écrit : > On May 10, 2010, at 1:18 PM, Henry McGilton wrote: > >> Hi Scott. Is there any rationale for the change? Or just Evolution In >> Action? > > I would imagine the biggest reason for the change is that if(self = [super > init]) causes a warning for some project settings. >
Fortunately for people who like this old syntax, clang is smart enough to know the "if (self = [super initXXX])" is an usual construct and to not emit warning in this case when -Wparentheses is used :-) -- Jean-Daniel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com