Re: enough of accessors - how about private method naming conventions in the real world?
Re: enough of accessors - how about private method naming conventions in the real world?
- Subject: Re: enough of accessors - how about private method naming conventions in the real world?
- From: "Michael B. Johnson" <email@hidden>
- Date: Wed, 07 Aug 2002 12:52:45 -0700
Yea, I actually do this for some stuff already.
Maybe I should just generalize it out and go with that.
argh...
On Wednesday, August 7, 2002, at 10:24 AM, Ondra Cada wrote:
On Wednesday, August 7, 2002, at 06:48 , Timothy J. Wood wrote:
3) Contemplate adding support to gcc in some fashion that would
solve this (perhaps support for statically bound private methods)
There is one, in a sense. This is as close to it as there is no
important difference:
@implementation Foo
...
static void staticAndPrivate(Foo *self, ...) { ... }
...
-(void)bar {
staticAndPrivate(self, ...);
}
...
@end
Of course, you can't get a selector for such "method", you can't use
it thus for timers and alike -- but with "statically bound private"
methods it would be almost by definiton the very very same problem.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
--> Michael B. Johnson, Ph.D. -- email@hidden
--> Studio Tools, Pixar Animation Studios
-->
http://xenia.media.mit.edu/~wave
_______________________________________________
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.