Changeset [9796f5d5d7d6d04d4b9425c8098eee2a96afd9d2] 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...

Committed by Francisco Ryan Tolmasky I

  • 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
New-ticket Create new ticket

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.

Shared Ticket Bins