Changeset [9796f5d5d7d6d04d4b9425c8098eee2a96afd9d2] by Francisco Ryan Tolmasky I
Revision 9796f5d5d7d6d04d4b9425c8098eee2a96afd9d2,
committed by Francisco Ryan Tolmasky I
· January 16th, 2011 @ 11:31 PM
Fix CPPopUpButton menu support.
- Added enumerateObjectsUsingBlock: to CPArray
- Fixed a remaining case of [] being used instead of objectAtIndex: in CPMutableArray.
- Added KVO support for menu items array in menus.
- Changed CPPopUpButton to use KVO to sync up with menu instead of notifications.
- Removed extra menu encoding in CPPopUpButton.
- Removed extra mainMenu object from CPApplication.
- Use setters in CPResponder instead of direct ivar access in initWithCoder:.
Closes #298.
Closes $1059.
Reviewed by me.
https://github.com/280north/cappuccino/commit/9796f5d5d7d6d04d4b942...
8 changed files
-
M
AppKit/CPApplication.j -
M
AppKit/CPMenu/CPMenu.j -
M
AppKit/CPMenuItem/CPMenuItem.j -
M
AppKit/CPPopUpButton.j -
M
AppKit/CPResponder.j -
M
Foundation/CPArray/CPArray.j -
M
Foundation/CPArray/CPMutableArray.j -
M
Tests/AppKit/CPPopUpButtonTest.j