Author: ericwa
Date: Sat Jan 11 21:46:29 2014
New Revision: 10042

URL: http://svn.gna.org/viewcvs/etoile?rev=10042&view=rev
Log:
COObject: implement +automaticallyNotifiesObserversForKey:. The KVO programming 
guide requires us to do this because COObject sends manual KVO notifications 
(it calls -willChangeValueForKey:, -didChangeValueForKey:, etc.). In 
TestObjectUpdate, validate the number of KVO notifications received (exactly 
1). Prior to this change, you would get redundant KVO notifications if you 
observed a property on a COObject subclass, because the KVO system would not 
know that COObject manually sends KVO notifications, so it would do the dynamic 
subclassing trick.

Modified:
    trunk/Etoile/Frameworks/CoreObject/Core/COObject.m
    trunk/Etoile/Frameworks/CoreObject/Tests/Core/TestObjectUpdate.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to