• 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: Setting a delegate on a UITextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a delegate on a UITextField


  • Subject: Re: Setting a delegate on a UITextField
  • From: Jon Sigman <email@hidden>
  • Date: Mon, 07 Mar 2011 09:54:32 -0800 (PST)

On Mon, March 7, 2011 9:30:05 AM Matt Neuburg wrote:

>  The "Return" key invokes textFieldShouldReturn: and does *not* automatically
>resign first responder ...

Ah! That is the part I had been overlooking. textFieldShouldReturn is the
perfect place to validate the input.

However, now that I've implemented it, textFieldShouldReturn gets called twice
immediately when the "Return" key gets pressed on the keypad, not sure why...
Thanks!




_______________________________________________

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: Setting a delegate on a UITextField
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Setting a delegate on a UITextField (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Proper way to construct an Attribute NSXMLNode so that its prefix is included in its XMLString
  • Next by Date: Re: NSTableView: which delegate after a drag operation?
  • Previous by thread: Re: Setting a delegate on a UITextField
  • Next by thread: Re: Setting a delegate on a UITextField
  • Index(es):
    • Date
    • Thread