Setting text field as first responder in an NSView
Setting text field as first responder in an NSView
- Subject: Setting text field as first responder in an NSView
- From: Eric Williams <email@hidden>
- Date: Wed, 01 Jun 2011 12:15:21 -0400
Probably fundamental but I haven't got my head straight on this.
Xcode 4.0.2
OS X 10.6.7
I have an app that is a single window that I load NSView elements over the course of the life of the app.
I want to set the first responder for the window to be a text field in the NSView after the view is loaded, so that a user can immediately start typing into the field.
Thanks for any pointers. I've tried many a things to no avail.
----
Eric Williams
AIM: email@hidden
Skype: wilersh
_______________________________________________
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