Re: First Responder target?
Re: First Responder target?
- Subject: Re: First Responder target?
- From: Dimitri Bouniol <email@hidden>
- Date: Fri, 30 Jun 2006 01:34:41 -0700
I'm not exactly sure about getting First Responder programatically,
but to find the key window, try [NSApp keyWindow];
The the rest of NSApplication's methods can be found here:
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/Classes/NSApplication_Class/index.html
On Jun 30, 2006, at 1:27 AM, Fredrik Olsson wrote:
A newbie question :)
Setting the first responder as target in IB is easy, but I can not
find how to set it up manually in code. Should I set NSApp target,
the NSResponder class, something completely different?
I do not think I should need to go through the trouble of finding
the key window, etc at least?
// Fredrik Olsson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Dimitri Bouniol
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden