Re: Objective C language [NEWBEE QUESTIONS]
Re: Objective C language [NEWBEE QUESTIONS]
- Subject: Re: Objective C language [NEWBEE QUESTIONS]
- From: John Randolph <email@hidden>
- Date: Fri, 30 Jan 2004 10:44:12 -0800
On Jan 30, 2004, at 8:30 AM, lbland wrote:
On Jan 30, 2004, at 8:46 AM, Philip Mvtteli wrote:
There's no support at the language level. But just don't declare them
in the header file.
warning: hidden name clashing ahead, many mysterious headaches in gdb
...
Some people add a underscore prefix for private methods:
_setVariable:
Let me give an official "don't do that!" from Apple DTS here.
Preceding your method names with a single underscore gives you a very
high risk of a conflict with a private AppKit API.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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.