• 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
Delaying touchesMoved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delaying touchesMoved


  • Subject: Delaying touchesMoved
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Fri, 24 Feb 2012 19:14:34 -0500

I've built a iOS simulation and I have been asked to provide a variable
delay between touchesMoved and it's actual code running - to simulate
latency. I imagine I'll be asked to provide this "system wide" - all
touches and interactions.

Since the delays would be anywhere from 5-30ms, I think I could almost get
away with performSelector with delay... but that feels messy. I could have
a Boolean and flip it after a timer and do that...

but I am asking the crowd here what the easiest to maintain and introduce
might be.

Thanks,
Eric
_______________________________________________

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


  • Prev by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Next by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Previous by thread: Recommendation: Turn on NSApplicationShowExceptions on your development machines
  • Next by thread: NSFileWrapper Role
  • Index(es):
    • Date
    • Thread