• 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: Retain/Release and Properties clarification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retain/Release and Properties clarification


  • Subject: Re: Retain/Release and Properties clarification
  • From: Sean McBride <email@hidden>
  • Date: Fri, 07 Oct 2011 13:26:56 -0400
  • Organization: Rogue Research Inc.

On Fri, 7 Oct 2011 10:21:41 -0700, Glenn L. Austin said:

>Do I really need to quote the C and C++ standards that states that a
>leading underscore on a symbol is reserved to the implementation -- in
>other words 'the implementation' is everything that you're not writing?

ISO/IEC 9899:1999, Section 7.1.3, "Reserved Identifiers":

"All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use."

So _ + lowercase, like _myVar, is fine.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Retain/Release and Properties clarification (From: John Tsombakos <email@hidden>)
 >Re: Retain/Release and Properties clarification (From: John Tsombakos <email@hidden>)
 >Re: Retain/Release and Properties clarification (From: Charles Srstka <email@hidden>)
 >Re: Retain/Release and Properties clarification (From: Sean McBride <email@hidden>)
 >Re: Retain/Release and Properties clarification (From: "Glenn L. Austin" <email@hidden>)

  • Prev by Date: Re: Retain/Release and Properties clarification
  • Next by Date: Re: adding something to a setter
  • Previous by thread: Re: Retain/Release and Properties clarification
  • Next by thread: Re: Retain/Release and Properties clarification
  • Index(es):
    • Date
    • Thread