Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The magic of Key Value Coding and Key Value Observing



On Aug 30, 2007, at 9:29 PM, Erik Buck wrote:

I just can't articulate why I am uncomfortable with KVC and KVO when I am comfortable with connections in IB.
On Aug 30, 2007, at 10:28 PM, mmalc crawford wrote:
Being uncomfortable with KVC is a puzzler.

... at least for the reasons you seem to be suggesting. A common complaint is that use of KVC can lead to runtime debugging -- you only find out when you launch your app that you misspelled a key. Some people use constants for key names to avoid this issue...

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >The magic of Key Value Coding and Key Value Observing (From: Erik Buck <email@hidden>)
 >Re: The magic of Key Value Coding and Key Value Observing (From: mmalc crawford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.