Re: Setting text field as first responder in an NSView
Re: Setting text field as first responder in an NSView
- Subject: Re: Setting text field as first responder in an NSView
- From: Jens Alfke <email@hidden>
- Date: Wed, 01 Jun 2011 10:53:48 -0700
On Jun 1, 2011, at 10:51 AM, Kyle Sluder wrote:
> You actually want to use initialFirstResponder here. You can wire up
> the window's initialFirstResponder outlet in IB to your text field,
> and it will do the right thing.
But the OP said he’s loading views into the window dynamically after it’s created.
—Jens
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