KVO and accessors - are they needed
KVO and accessors - are they needed
- Subject: KVO and accessors - are they needed
- From: Bruce Truax <email@hidden>
- Date: Tue, 19 Oct 2004 22:23:34 -0400
I have been religiously creating and using set and get accessors for all
variables for which I use KVO. This is recommended by the documentation but
the documentation also states that if the accessors are not present the
variable will still be accessed using default set and get methods. I have a
couple of classes with a large number of variables for which I use KVO and
binding. These classes have a lot of methods, 90% of which are set and get
methods for floats, ints, NSStrings, BOOL's etc. The classes would be much
smaller and easier to read without all of these methods. What do the
experts recommend?
Bruce
_______________________________________________
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