Re: Key-Value Coding Limitations
Re: Key-Value Coding Limitations
- Subject: Re: Key-Value Coding Limitations
- From: Ondra Cada <email@hidden>
- Date: Fri, 5 May 2006 19:23:03 +0200
On 5.5.2006, at 18:37, Mike Abdullah wrote:
Besides, you really ought to be using accessor methods, rather than
directly editing the object in any case.
Depends. In may cases, yup. Far as, though, the attribute is accessed
through KVC only, and far as there is no extra dependencies, I am in
favour of *not* doing that on the very simple pretext that there, you
know, is *only* one type of code which cannot ever contain bugs and
which needs never any debugging: a code you don't write at all.
(Note you don't lose any flexibility, for as soon as you--in a future
version perhaps--choose to use an accessor, it will immediately begin
to be used, without a need of recompiling the caller.)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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