On Jun 23, 2010, at 12:47 PM, davel...@mac.com wrote:

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

Yes. Any expression of the form

        if(A = B)

i.e. an assignment directly inside an if, will result in a warning that this 
looks confusingly like a comparison.

—Jens_______________________________________________

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