Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [fa1a10730e3610b49410d4e8ea89cfaf00928c2c] by Alexander Ljungberg

Revision fa1a10730e3610b49410d4e8ea89cfaf00928c2c, committed by Alexander Ljungberg · April 2nd, 2011 @ 12:03 PM

Fixed: an array controller with a bound contentArray would sometimes fail when add:, remove: and similar methods were called.

In particular the AC would fail when a _CPKeyValueCodingArray proxy was required (the destination implements insertObject:inAtIndex etc.). The previous commit by cacaodev is the larger part of this fix as it enables use of mutableArrayValueForKeyPath properly. This commit merely fixes an error exposed by the previous commit where e.g. add: would apparently add two objects rather than one. This was caused by the AC observing and reacting to its own change even that it already had an optimised path to update arrangedObjects.
https://github.com/280north/cappuccino/commit/fa1a10730e3610b49410d...

1 changed file

  • M AppKit/CPArrayController.j