• 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: Creating a large Cocoa project - tutorials? - OT: underscore use
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a large Cocoa project - tutorials? - OT: underscore use


  • Subject: Re: Creating a large Cocoa project - tutorials? - OT: underscore use
  • From: Wolfgang Maehr <email@hidden>
  • Date: Sun, 20 Mar 2005 21:51:46 +0100

Hi Uli, a bit off topic

On Mar 20, 2005, at 21:29, M. Uli Kusterer wrote:
It [precede instance variables with an underscore] used to be in the old NeXT days, but Apple have declared that the underscore is from now on reserved for their personal use. So, no, it isn't anymore.

But there I would like to know what to do with instant methods that are just for internal use? I should be declaring them in the header file, so that I do not get any Compiler warings and so that I can use code completion and so on. But I would somehow like to mark them (as the header is the declaration also for the outside) as interanlly used. Python solves this elegantly with a preceding underscore, which I obviously should not be using here. So what's the best way to do this?


Thanks for any advice,
_Wolf

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Creating a large Cocoa project - tutorials? - OT: underscore use
      • From: Justin Spahr-Summers <email@hidden>
    • Re: Creating a large Cocoa project - tutorials? - OT: underscore use
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Creating a large Cocoa project - tutorials? - OT: underscore use
      • From: Sherm Pendley <email@hidden>
References: 
 >Re: Creating a large Cocoa project - tutorials? (From: Keith Blount <email@hidden>)
 >Re: Creating a large Cocoa project - tutorials? (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: newbie EXC_BAD_ACCESS
  • Next by Date: Re: Access iTunes Playlists / tracks via Cocoa
  • Previous by thread: Re: Creating a large Cocoa project - tutorials?
  • Next by thread: Re: Creating a large Cocoa project - tutorials? - OT: underscore use
  • Index(es):
    • Date
    • Thread