• 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: Objective-C Instance Variable Names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective-C Instance Variable Names


  • Subject: Re: Objective-C Instance Variable Names
  • From: "John C. Randolph" <email@hidden>
  • Date: Sun, 6 Apr 2008 18:47:16 -0700


On Apr 3, 2008, at 9:45 AM, Jens Alfke wrote:

On 3 Apr '08, at 9:29 AM, Richard Somers wrote:

There is a common practice of prefixing instance variable names with "_", a single underscore character.

And it's a very good idea to do so, IMHO.

Jens,

That's an Apple internal coding convention, and it's not recommended for anyone else.

-jcr




"This is not a book to be tossed aside lightly. Rather, it should be hurled with great force." -Dorothy Parker


_______________________________________________

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


  • Follow-Ups:
    • Re: Objective-C Instance Variable Names
      • From: Todd Blanchard <email@hidden>
References: 
 >Objective-C Instance Variable Names (From: Richard Somers <email@hidden>)
 >Re: Objective-C Instance Variable Names (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Objective-C Instance Variable Names
  • Next by Date: Using existing SQLite database with core data?
  • Previous by thread: Re: Objective-C Instance Variable Names
  • Next by thread: Re: Objective-C Instance Variable Names
  • Index(es):
    • Date
    • Thread