• 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: detecting touch and hold vs touch in UIButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: detecting touch and hold vs touch in UIButton


  • Subject: Re: detecting touch and hold vs touch in UIButton
  • From: Matt Neuburg <email@hidden>
  • Date: Sun, 06 Jun 2010 11:07:24 -0700
  • Thread-topic: detecting touch and hold vs touch in UIButton

On or about 6/6/10 11:04 AM, thus spake "Scott Andrew"
<email@hidden>:

> You still need that timer.  Especially for non 3.2.  If you get your
> touchEnded before your timer is reached it was just a tap.

Right, but my revised solution (which you do not quote) with performSelector
and delayed performance *is* effectively using a timer. I tested on 3.1.2
and it seems to do exactly what the OP asked for. m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com



_______________________________________________

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

References: 
 >Re: detecting touch and hold vs touch in UIButton (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: detecting touch and hold vs touch in UIButton
  • Next by Date: Re: detecting touch and hold vs touch in UIButton
  • Previous by thread: Re: detecting touch and hold vs touch in UIButton
  • Next by thread: setting tab stops in a document
  • Index(es):
    • Date
    • Thread