Re: delayed read-only bindings (suggestions/hints) ?
Re: delayed read-only bindings (suggestions/hints) ?
- Subject: Re: delayed read-only bindings (suggestions/hints) ?
- From: Allan Odgaard <email@hidden>
- Date: Wed, 21 Apr 2004 20:33:12 +0200
On 21. Apr 2004, at 19:54, Scott Anguish wrote:
if you turned off automatic KVO for that class, you could restrict
the times that you send the change notifications. You could track
when the last update was, and only send the did/will change
notifications once per second.
Ehm... should the willChange... not be sent *before* changing the
value? e.g. the observer may wish to grab the old value and/or (in this
case) the array controller may access the array prior to receiving a
(delayed) willChange... and thus read out-of-bounds indices.
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.