What is the difference between objectForKey and valueForKey? I looked both up in the documentation and they seemed the same to me.
objectForKey
valueForKey
Here's a great reason to use objectForKey: wherever possible instead of valueForKey: - valueForKey: with an unknown key will throw NSUnknownKeyException saying "this class is not key value coding-compliant for the key ".
objectForKey:
valueForKey:
NSUnknownKeyException