• 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: firstResponder comparison failing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: firstResponder comparison failing


  • Subject: Re: firstResponder comparison failing
  • From: Ryan Britton <email@hidden>
  • Date: Fri, 9 Jun 2006 12:55:20 -0700


On Jun 9, 2006, at 12:33 PM, Mark Dawson wrote:

I figure this is part of Obj-C that I'm missing. Looking at "y", I see that it is an "NSTextView" type ("x" is an "NSTextField" type). How do I tell if "x" is a first responder/selected?

What you're getting back for y is NSTextField's field editor. NSTextField is overriding the standard first responder methods in order to give first responder status to its field editor rather than itself because it does not handle input directly.
_______________________________________________
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
References: 
 >firstResponder comparison failing (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: firstResponder comparison failing
  • Next by Date: [ANN] view hierarchy inspector
  • Previous by thread: Re: firstResponder comparison failing
  • Next by thread: Re: firstResponder comparison failing
  • Index(es):
    • Date
    • Thread