Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: First Responder target?




On 30 Jun 2006, at 09:27, Fredrik Olsson wrote:

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?

No.

First responder is a nil target - this only applies, obviously, to certainly classes that support target/action.

Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >First Responder target? (From: Fredrik Olsson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.