• 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: first responder being clobbered
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first responder being clobbered


  • Subject: Re: first responder being clobbered
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 26 Oct 2009 22:02:30 -0600

Nope. In CocoaTouch, you can explicitly assign a UIResponder to be first responder by sending it the -becomeFirstResponder message. There is no "makeFirstResponder" method. IMO, this is one of the improvements of CocoaTouch over Cocoa. The responder system seems to be better organized.

Dave

On Oct 26, 2009, at 9:59 PM, Graham Cox wrote:


On 27/10/2009, at 2:55 PM, Michael Link wrote:

Is there a different solution to getting a first responder in a table cell and not having it resign on 3.1?

I'm unfamiliar with the iPhone version of Cocoa and whether its rules are different, but certainly on the Mac you shouldn't invoke - becomeFirstResponder on an object. Instead you must ask its window to make it the first responder using -makeFirstResponder. Same?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >first responder being clobbered (From: Michael Link <email@hidden>)
 >Re: first responder being clobbered (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: first responder being clobbered
  • Next by Date: Core Data: Undoing Cut-Paste, Drag-Drop between documents
  • Previous by thread: Re: first responder being clobbered
  • Next by thread: Re: first responder being clobbered
  • Index(es):
    • Date
    • Thread