On Wed, Jun 1, 2011 at 10:53 AM, Jens Alfke <j...@mooseyard.com> wrote:
>
> 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.

Ah, after the _view_ is loaded, not the _window._ Gotcha.

Yea, for obvious reasons -initialFirstResponder isn't gonna help with that. ;-)

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to