Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Turning off spurious C warning in XCode ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off spurious C warning in XCode ?



On 23 Nov 2003, at 13:16, Troy Dawson wrote:

> On Nov 23, 2003, at 5:02 AM, Thomas Lachand-Robert wrote:
>
>> So if anyone has an idea to get rid of this warning, I'm interested.
>> Thanks,
>
> don't reuse instance variable names in your methods. I preface my
> instance variables with a '_ 'as habit.

You should take a look at Apple's naming guidelines, here:

http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/index.html

If you look closely, you'll find that they say that instance variables
should *not* have '_' on the beginning because that notation is
reserved for use by Apple.

Kind regards,

Alastair.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >Turning off spurious C warning in XCode ? (From: Thomas Lachand-Robert <email@hidden>)
 >Re: Turning off spurious C warning in XCode ? (From: Thomas Lachand-Robert <email@hidden>)
 >Re: Turning off spurious C warning in XCode ? (From: Troy Dawson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.