• 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: who is currently the first responder? (iOS)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: who is currently the first responder? (iOS)


  • Subject: Re: who is currently the first responder? (iOS)
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 29 Jun 2011 09:10:47 -0700

On Jun 29, 2011, at 9:04 AM, Roland King wrote:

> aagh - thanks - I'd been looking at methods on the view controller for it, like setEditing: etc., didn't find endEditing on the view itself, that should do the trick. The documentation for that says it goes through the view hierarchy finding the text field which is the first responder, so it does what you would naively do, and in this case, they're all text fields so that's ok.

Actually it works for more than text fields; another case of poor documentation. m.

--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
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

  • Follow-Ups:
    • Re: who is currently the first responder? (iOS)
      • From: Alex Kac <email@hidden>
References: 
 >Re: who is currently the first responder? (iOS) (From: Matt Neuburg <email@hidden>)
 >Re: who is currently the first responder? (iOS) (From: Roland King <email@hidden>)

  • Prev by Date: Re: Properties, Attributes and Retain+Autorelease
  • Next by Date: Re: who is currently the first responder? (iOS)
  • Previous by thread: Re: who is currently the first responder? (iOS)
  • Next by thread: Re: who is currently the first responder? (iOS)
  • Index(es):
    • Date
    • Thread