Skip navigation.
 
mlRe: Forcing a refresh on a bound control
FROM : Hamish Allan
DATE : Tue May 20 01:30:50 2008

On Tue, May 20, 2008 at 12:16 AM, Christiaan Hofman <<email_removed>> wrote:

> Basically what mmalc is saying (as I understand it) is to /add/ a property
> for this derived key, and when the "real" keys update (i.e. from
> observeValue:...) you set the derived property using KVC compliant methods,
> so the change is noted. It's rather a hassle and needs extra ivars.


No need for extra ivars -- the sum total is a dynamic read-only
property, dependent on the filtered collection of topics. If the
dependency is set up using KVO, anything observing the sum total (e.g.
a text view in the user interface) will be notified that it has
changed when the filtered collection is changed. Likewise, the
filtered collection is a read-only property dependent on the value of
the search field, so typing in the search field will indirectly cause
a notification that the sum total has changed.

Hamish

Related mailsAuthorDate
mlForcing a refresh on a bound control Trent Jacobs May 15, 23:10
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 15, 23:35
mlRe: Forcing a refresh on a bound control mmalc Crawford May 18, 08:18
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 18, 12:20
mlRe: Forcing a refresh on a bound control Clark Cox May 18, 12:34
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 18, 13:53
mlRe: Forcing a refresh on a bound control mmalc Crawford May 18, 16:25
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 18, 16:44
mlRe: Forcing a refresh on a bound control mmalc Crawford May 18, 16:52
mlRe: Forcing a refresh on a bound control Scott Stevenson May 19, 00:57
mlRe: Forcing a refresh on a bound control David Dunham May 19, 05:04
mlRe: Forcing a refresh on a bound control Scott Stevenson May 19, 08:42
mlRe: Forcing a refresh on a bound control Trent Jacobs May 19, 09:40
mlRe: Forcing a refresh on a bound control David Dunham May 19, 18:01
mlRe: Forcing a refresh on a bound control Hamish Allan May 20, 01:14
mlRe: Forcing a refresh on a bound control Christiaan Hofman May 20, 01:16
mlRe: Forcing a refresh on a bound control Hamish Allan May 20, 01:30
mlRe: Forcing a refresh on a bound control David Dunham May 20, 18:21
mlRe: Forcing a refresh on a bound control Hamish Allan May 20, 21:14