• 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: Determining when dragging begins and ends
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining when dragging begins and ends


  • Subject: Re: Determining when dragging begins and ends
  • From: Graham Cox <email@hidden>
  • Date: Sat, 8 May 2010 15:07:07 +1000

On 08/05/2010, at 2:14 PM, Dave DeLong wrote:

> I could tell all my objects to start caching this count, and then return that cached value until I finish dragging.


Why not cache the count anyway? If it is taking a long time to evaluate the count, caching it will give general performance benefits for the table/outline whatever it's doing. As with any caching, invalidate it when you know the count has changed. Chances are it will be easier to know when that is than trying to catch specific UI gestures.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Determining when dragging begins and ends
      • From: Dave DeLong <email@hidden>
References: 
 >Determining when dragging begins and ends (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Determining when dragging begins and ends
  • Next by Date: Re: Program crashed after edit values at NSTableView
  • Previous by thread: Re: Determining when dragging begins and ends
  • Next by thread: Re: Determining when dragging begins and ends
  • Index(es):
    • Date
    • Thread