• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interface item validation through first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Interface item validation through first responder (From: Luc Van Bogaert <email@hidden>)
 >Re: Interface item validation through first responder (From: Quincey Morris <email@hidden>)
 >Re: Interface item validation through first responder (From: Luc Van Bogaert <email@hidden>)
 >Re: Interface item validation through first responder (From: Quincey Morris <email@hidden>)
 >Re: Interface item validation through first responder (From: Luc Van Bogaert <email@hidden>)

  • Prev by Date: Re: [iOS] What's the point of UISegementedControl.tintColor?
  • Next by Date: Re: After Autoreleasing Still Getting Leaked
  • Previous by thread: Re: Interface item validation through first responder
  • Next by thread: Re: Interface item validation through first responder
  • Index(es):
    • Date
    • Thread