• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
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 ?


  • Subject: Re: Turning off spurious C warning in XCode ?
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Mon, 24 Nov 2003 23:11:22 +0100

Le 24 nov. 03, ` 15:46, Alastair Houghton a icrit :

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.



I knew about this rule, and in fact I prefer to avoid underscores if I can: unfortunately, it seems that the aforementionned bug about warning messages makes impossible to avoid this. Apparently you don't have any choice except than using underscores, or use a completely different name for local variables reprensenting instance variables (?), or acces directly instance variables everywhere (not very OO!).



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.

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>)
 >Re: Turning off spurious C warning in XCode ? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Shell scripts and inputs/outputs
  • Next by Date: Re: Syntax/Language mode
  • Previous by thread: Re: Turning off spurious C warning in XCode ?
  • Next by thread: Plug-in API for Xcode . . .
  • Index(es):
    • Date
    • Thread