Re: first responder being clobbered
Re: first responder being clobbered
- Subject: Re: first responder being clobbered
- From: Michael Link <email@hidden>
- Date: Tue, 27 Oct 2009 11:47:53 -0500
It is different, UIWindow doesn't have a method -makeFirstResponder.
When I was trying to figure this out I had assumed UIWindow had a
firstResponder outlet just like NSWindow but it doesn't. Of course
it's possible to extend the class to access the iv.
--
Michael
On Oct 26, 2009, at 10: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?
--Graham
_______________________________________________
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