• 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: Key-Value Coding Limitations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Key-Value Coding Limitations (From: James Bucanek <email@hidden>)
 >Re: Key-Value Coding Limitations (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Which format for image file resources in Cocoa application?
  • Next by Date: Re: Which format for image file resources in Cocoa application?
  • Previous by thread: Re: Key-Value Coding Limitations
  • Next by thread: Re: Key-Value Coding Limitations
  • Index(es):
    • Date
    • Thread