• 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: A Challenge WAS Accessor method idioms...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A Challenge WAS Accessor method idioms...


  • Subject: Re: A Challenge WAS Accessor method idioms...
  • From: Marcel Weiher <email@hidden>
  • Date: Sat, 26 Mar 2005 21:45:15 +0000


On 25 Mar 2005, at 15:35, Mike Ferris wrote:

While auto-accessors is a neat idea, and one that I have thought about a bit, it would have to be done in a way that does not involve forwarding (at least after the first use).

Use accessor-macros? Although the C processor is a bit crufty for this sort of thing.


There are ways to accomplish this, perhaps along the lines of how auto-KVO is implemented. In this case it might even be doable without dynamic subclassing. I may look into this eventually.

Of curse, I still want the accessors declared in my header and documented. And, of course, then the compiler's gonna whine about my "incomplete" class...

Unless those methods are actually implemented, see above.

Marcel


-- Marcel Weiher Metaobject Software Technologies email@hidden www.metaobject.com The simplicity of power HOM, IDEAs, MetaAd etc. 1d480c25f397c4786386135f8e8938e4


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Accessor method idioms... (From: Mike Ferris <email@hidden>)
 >Re: Accessor method idioms... (From: John Brownlow <email@hidden>)
 >Re: Accessor method idioms... (From: "M. Uli Kusterer" <email@hidden>)
 >A Challenge WAS Accessor method idioms... (From: John Brownlow <email@hidden>)
 >Re: A Challenge WAS Accessor method idioms... (From: Nicko van Someren <email@hidden>)
 >Re: A Challenge WAS Accessor method idioms... (From: Mike Ferris <email@hidden>)

  • Prev by Date: sorting on multiple columns of a table
  • Next by Date: Re: loop efficiency & messages
  • Previous by thread: Re: A Challenge WAS Accessor method idioms...
  • Next by thread: Re: Accessor method idioms...
  • Index(es):
    • Date
    • Thread