Changeset [3947bd65f2718408c8d505e2ae95b6f1627ef937] by Francisco Ryan Tolmasky I
December 24th, 2010 @ 11:01 PM
Reimplementation of CPSet as a class-cluster, and better set support for valueForKey:
- CPSet and CPMutableSet are now abstract super classes that
create appropriate concrete subclasses behind the scenes.
- CPSet subclassers need only implement -count, -member:, and
-objectEnumerator.
- CPMutableSet subclassers need only implement -count, -member:,
-objectEnumerator:, -addObject:, and removeObject:.
- Added more CPSet tests.
- Added _CPKeyValueCodingSet which subclasses CPSet for set returns in valueForKey:.
Reviewed by me.
https://github.com/280north/cappuccino/commit/3947bd65f2718408c8d50...
Committed by Francisco Ryan Tolmasky I
- M Foundation/CPCountedSet.j
- M Foundation/CPKeyValueCoding.j
- M Foundation/CPSet+KVO.j
- M Foundation/CPSet.j
- M Tests/Foundation/CPSetTest.j
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.