• 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: Knowing if a view is first responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knowing if a view is first responder


  • Subject: Re: Knowing if a view is first responder
  • From: Andreas Mayer <email@hidden>
  • Date: Tue, 5 Apr 2005 16:55:55 +0200


Am 5. Apr 2005 um 16:27 Uhr schrieb Michael Becker:

is there any way to determine if a view is first responder?

Yes. Ask the window.

if (myView == [[myView window] firstResponder]) ...


Andreas

_______________________________________________
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


  • Follow-Ups:
    • displaying a NSImage within NSImageView
      • From: "Daniel O'Sullivan" <email@hidden>
References: 
 >Knowing if a view is first responder (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Knowing if a view is first responder
  • Next by Date: Re: NSURLRequest progress as uploading file with POST?
  • Previous by thread: Re: Knowing if a view is first responder
  • Next by thread: displaying a NSImage within NSImageView
  • Index(es):
    • Date
    • Thread