Changeset [31d57b0c3772485dac5c25916b9d7df1537cc711] by Alexander Ljungberg

November 18th, 2010 @ 08:00 AM

Optimise table view selection notification.

Before the table view would send a CPTableViewSelectionDidChangeNotification whenever the number of rows in the table decreased, regardless of if any selected rows actually became deselected. This could be a needless performance drain in the common case where other program components update and reload on selection changes in a table or outline view.
https://github.com/280north/cappuccino/commit/31d57b0c3772485dac5c2...

Committed by Alexander Ljungberg

  • M AppKit/CPTableView.j
  • M Tests/AppKit/CPTableViewTest.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