• 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: NSTableView - Responder - 'Focus'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView - Responder - 'Focus'


  • Subject: Re: NSTableView - Responder - 'Focus'
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 27 Feb 2004 23:23:10 +0100

Peter,

On Friday, Feb 27, 2004, at 22:23 Europe/Prague, Peter Wollschlaeger wrote:

May I add a question, because cricket uses the underline character. I know in C++ names staring with 2 underline characters or with one followed by a uppercase letter are forbidden because they are reserved for libraries. Is there a similar restriction in Cocoa too?

I believe this applies to property and method/message names only: Apple reserves them. Well I missed the original post, perhaps the underscored identifier was of a property?

Myself, I tend to violate the rule with private methods, for the leading underscore is quite handy for distinguishing an internal and external service. I use also a prefix though (like "__ocs_myMethod") to reduce the probability of a clash to something as near to zero as making no real difference.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: NSTableView - Responder - 'Focus'
      • From: Allan Odgaard <email@hidden>
References: 
 >Re: NSTableView - Responder - 'Focus' (From: Peter Wollschlaeger <email@hidden>)

  • Prev by Date: Re: Extending NSMutableDictionary what am I doing wrong?
  • Next by Date: Re: how to create status bar?
  • Previous by thread: Re: NSTableView - Responder - 'Focus'
  • Next by thread: Re: NSTableView - Responder - 'Focus'
  • Index(es):
    • Date
    • Thread