Ross Boucher
be26ab9201
CPDictionary is now KVO compliant.
2010-05-24 10:09:39 -07:00
Francisco Ryan Tolmasky I
3a35ab449b
Fixed failing KVO tests.
...
Reviewed by me.
2010-02-12 13:46:26 -08:00
Ross Boucher
da84964a33
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
2010-02-12 12:53:15 -08:00
Ross Boucher
a1e24a3f95
Fix a bug where keyPaths which had a component evaluating to self would send notifications containing the wrong keypath in the observation.
...
Includes test case.
2009-12-19 17:47:02 -05:00
Ross Boucher
f184b9bcc4
Add a few KVO tests around arrays
2009-12-19 15:32:23 -05:00
Francisco Ryan Tolmasky I
403277ed06
Further refined KVO tests.
...
Reviewed by me.
2009-12-11 11:16:17 -08:00
Francisco Ryan Tolmasky I
7edb7266f2
Added test for old dependent values in KVO.
...
Reviewed by me.
2009-12-11 10:54:17 -08:00
Francisco Ryan Tolmasky I
4865d6b20f
Fixed an issue with dependent keys in KVO only working for composed properties, and also made the "frame" key on views dependent on a view's frame origin and frame size.
...
Reviewed by me.
2009-07-20 20:37:19 -07:00
Ross Boucher
092a6b922e
disabled this performance test for the moment, to fix the build.
2009-04-09 15:07:39 -07:00
Ross Boucher
6291804775
Support, fixes, and tests for KVC array operators.
2009-01-20 20:06:46 -08:00
Ross Boucher
0b05b4b7d8
Add KVC+KVO support for "To Many" keys (i.e. Arrays).
2009-01-20 18:51:10 -08:00
Ross Boucher
e859e9efc0
Add additional support for dependent keys, some performance improvements.
2009-01-19 01:42:39 -08:00
Ross Boucher
44e4af0f02
Experimental support for dependent keys. I say experimental because it slows down KVO by nearly 2x when its used.
2009-01-18 22:09:24 -08:00
Ross Boucher
ff140b8c4c
Improve KVO speed 50%, add dictionary support in KVC.
2008-09-27 11:33:36 -07:00
Ross Boucher
3834751aa3
Key Value Observing, with test cases.
2008-09-25 22:20:21 -07:00
Ross Boucher
df3264de94
Updates to KVO and KVO tests.
2008-09-24 13:36:25 -07:00
Ross Boucher
3f55ee6284
add initial test suite for KVO
2008-09-21 15:22:21 -07:00