• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: delayed read-only bindings (suggestions/hints) ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: delayed read-only bindings (suggestions/hints) ?
      • From: Allan Odgaard <email@hidden>
References: 
 >delayed read-only bindings (suggestions/hints) ? (From: Nicolas Berloquin <email@hidden>)
 >Re: delayed read-only bindings (suggestions/hints) ? (From: Scott Anguish <email@hidden>)
 >Re: delayed read-only bindings (suggestions/hints) ? (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: MyODBC w/Cocoa?
  • Next by Date: Re: MyODBC w/Cocoa?
  • Previous by thread: Re: delayed read-only bindings (suggestions/hints) ?
  • Next by thread: Re: delayed read-only bindings (suggestions/hints) ?
  • Index(es):
    • Date
    • Thread