The former is described in the KVC Prog Guide, but missing from iOS API installed with Xcode 4.0.2 (with iOS 4.3 SDK) for Snow Leopard which lists the latter.
This is for iOS 2.0 or newer. Thanks.
The former is described in the KVC Prog Guide, but missing from iOS API
Share
You can use both. For key named
foo, you can either implement a specific methodor, a non-specific method
It is perfectly sensible that you didn’t find
validateIvar:error:in the API documentation, because the partIvarneeds to be changed for each key. You don’t find every method calledsetFoo:for keysfooyou defined in the system API reference, do you?