Re: delayed read-only bindings (suggestions/hints) ?
Re: delayed read-only bindings (suggestions/hints) ?
- Subject: Re: delayed read-only bindings (suggestions/hints) ?
- From: Scott Anguish <email@hidden>
- Date: Wed, 21 Apr 2004 15:43:45 -0400
On Apr 21, 2004, at 2:33 PM, Allan Odgaard wrote:
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.
sure.. I didn't mean use did then will, rather just send them only
sporadically.
_______________________________________________
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.