Changeset [da84964a334a153b71306a5aaf007b9ecb7d2d4b] by Ross Boucher
Revision da84964a334a153b71306a5aaf007b9ecb7d2d4b,
committed by Ross Boucher
· February 12th, 2010 @ 10:53 AM
Fix two problems with KVC:
- valueForKeyPath: looped over individual components, which meant
classes couldn't override valueForKeyPath: to do multi-part keys
(needed for operators) - CPArray's valueForKeyPath: implementation
was incorrectly parsing the operator if it was a simple key
http://github.com/280north/cappuccino/commit/da84964a334a153b71306a...
3 changed files
-
M
Foundation/CPArray+KVO.j -
M
Foundation/CPKeyValueCoding.j -
M
Tests/Foundation/CPKVOTest.j