May
22
Key Value Strings as More Than Strings
Filed Under Mac, Programming
Daniel Jalkut observes that while seemingly loose about types in that it will attempt to execute any method you throw at it, an Objective-C object at least has the decency to insist you use a SELector in exchange for this type-sluttiness, Key Value Coding will take any old string no matter how unlikely it is to work.
Of course, SELectors come from the creators of Objective-C itself, while KVO and KVC are Apple inventions. Jalkut imagines having KVO/KVC keys being at least a tiny bit more typed rather than the plain (uncheckable by the compiler) strings they are today.

