Re: NSTableView - Responder - 'Focus'
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.