Re: KVO and accessors - are they needed
Re: KVO and accessors - are they needed
- Subject: Re: KVO and accessors - are they needed
- From: Scott Stevenson <email@hidden>
- Date: Sat, 23 Oct 2004 14:45:38 -0700
On Oct 23, 2004, at 6:54 AM, Steven Kramer wrote:
Agreed, but even then KVC will have to do some runtime mangling
(looking up argument types for type coercion). So it never becomes a
truly trivial operation, right? I'm asking because I have a situation
with quite some classes that are mostly data containers. Adding
getters/setters increased the class and code size considerably and
speed is not such an issue here.
If that's the case, why not just use a dictionary for the main data?
Half on-topic: I have an easily customized yet slightly powerful perl
script for Xcode to do accessors/init/dealloc/coding implementations.
Much better than the Apple supplied shell script. If anyone's reading
this and interested, let me know.
Not to discredit what you've done, but Kevin Callahan's Accessorizer is
very good for this:
http://www.kevincallahan.org/software/accessorizer.html
- Scott
_______________________________________________
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