• 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: enough of accessors - how about private method naming conventions in the real world?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Ondra Cada <email@hidden>
  • Date: Wed, 7 Aug 2002 19:24:20 +0200

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
_______________________________________________
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: enough of accessors - how about private method naming conventions in the real world?
      • From: "Michael B. Johnson" <email@hidden>
References: 
 >Re: enough of accessors - how about private method naming conventions in the real world? (From: "Timothy J. Wood" <email@hidden>)

  • Prev by Date: concatenating literal strings
  • Next by Date: Trouble resizing a scrollview programatically
  • Previous by thread: Re: enough of accessors - how about private method naming conventions in the real world?
  • Next by thread: Re: enough of accessors - how about private method naming conventions in the real world?
  • Index(es):
    • Date
    • Thread