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: Responder Chain and NSViewController in non-doc applications




On Jun 30, 2008, at 10:12 AM, j o a r wrote:


On Jun 30, 2008, at 9:52 AM, Jerry Isdale wrote:

Again, the NSViewController doesnt appear in the responder chain, unless it was designated by the initial Event Responder. If it was designated, but doesnt respond, what happens? An Error or does it go back to the responder chain?


I'm not clear on what you mean by "designated by the initial Event Responder".
If the NSControl has a
- (BOOL)sendAction:(SEL)theAction to:(id)theTarget
it is the initial Event Responder (eg. it would be found in the responder chain handling the mouseDown/mouseUp) and it designates an NSViewController as theTarget (connected in IB to the IBAction method)


Jerry Isdale
email@hidden



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Responder Chain and NSViewController in non-doc applications (From: Jerry Isdale <email@hidden>)
 >Re: Responder Chain and NSViewController in non-doc applications (From: j o a r <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.