• 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: UITextField and UIGestureRecognizers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITextField and UIGestureRecognizers


  • Subject: Re: UITextField and UIGestureRecognizers
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 11 Nov 2011 09:51:29 -0800

On Fri, 11 Nov 2011 11:17:17 +0100, Olivier Palliere <email@hidden> said:
>
>Yeah I know it sounds like this is against the framework, but I eventually got it reading the doc and poking around the web. Basically the UITextField's gesture recognizers are reseted to a default value every time it's being edited. So you need to setup your own custom recognizer every time the field is edited.
>
>All legit

I'm not sure I agree. The very fact that "you need to setup your own custom recognizer every time the field is edited" is a sign that you are fighting the framework. This means that your approach is fragile and highly implementation-dependent. I would suggest that you should go with things that are documented. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

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: Why does changing a UIScrollView's contentInset change contentOffset?
  • Next by Date: Re: Logging in Xcode 4.2
  • Previous by thread: Re: UITextField and UIGestureRecognizers
  • Next by thread: Custom About Box with background shape
  • Index(es):
    • Date
    • Thread