Author: qmathe
Date: Wed Dec 4 15:26:08 2013
New Revision: 9743
URL: http://svn.gna.org/viewcvs/etoile?rev=9743&view=rev
Log:
Started batch mutation support in collection protocols.
* Added -insertObjects:atIndexes:hints: and -removeObjects:atIndexes:hints: to
ETCollectionMutation
* Updated all primitive collections to implement these new mutation methods
* Made NSMutableArray uses ETMutableCollectionTrait
* Rewrote -keyForCollection: into -insertionKeyForCollection: (borrowed from
ETController)
* Added ETCollectionMutation related KVO support as
-willChangeValueForKey:atIndexes:withObjects:mutationKind:
and -didChangeValueForKey:atIndexes:withObjects:mutationKind:
Note: All tests pass for EtoileFoundation, CoreObject and EtoileUI.
Modified:
trunk/Etoile/Frameworks/EtoileFoundation/Headers/ETCollection.h
trunk/Etoile/Frameworks/EtoileFoundation/Headers/NSObject+Model.h
trunk/Etoile/Frameworks/EtoileFoundation/Source/ETCollection.m
trunk/Etoile/Frameworks/EtoileFoundation/Source/NSObject+Model.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs