Re: Turning off spurious C warning in XCode ?
Re: Turning off spurious C warning in XCode ?
- Subject: Re: Turning off spurious C warning in XCode ?
- From: Thomas Lachand-Robert <email@hidden>
- Date: Sun, 23 Nov 2003 16:19:48 +0100
Le 23 nov. 03, ` 14:16, Troy Dawson a icrit :
don't reuse instance variable names in your methods. I preface my
instance variables with a '_ 'as habit.
I don't "reuse" instance variable, just give them a local name. I
intentionnally do so in order to avoid a direct reference to the
variable by mistake. Also I consider it clearer that way.
also, your original issue:
id session = [self session];
will not produce an warning -- method names do not collide with C
variable names.
It doesn't and that's not the origin of the warning. Read my first post
about that.
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.