On Jun 21, 2010, at 2:44 PM, Scott Anguish wrote:

> The old style
> 
>> if (self = [super init])
> 
> will cause a warnings with certain settings now and in the future.
> 

Does this also apply to code such as:

    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])

should it be:

self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self)

and any other initializers?

Thanks,
Dave



_______________________________________________

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

Reply via email to