Re: Interface item validation through first responder
Re: Interface item validation through first responder
- Subject: Re: Interface item validation through first responder
- From: Kyle Sluder <email@hidden>
- Date: Wed, 15 Jun 2011 12:23:27 -0700
On Wed, Jun 15, 2011 at 12:12 PM, Luc Van Bogaert
<email@hidden> wrote:
> So does this mean my window doesn't have a next responder? If so, I'm completely lost about why that would be. But of course that would explain why the validation methods are never called.
Re-read Quincey's post. -nextResponder is NOT the entire responder
chain. See: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW2
"As this sequence indicates, the NSWindow object and the NSApplication
object give their delegates a chance to handle action messages as
though they were responders, even though a delegate isn’t formally in
the responder chain (that is, a nextResponder message to a window or
application object doesn’t return the delegate)."
--Kyle Sluder
_______________________________________________
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