• 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: Multiples calls to acceptsFirstResponder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiples calls to acceptsFirstResponder


  • Subject: Re: Multiples calls to acceptsFirstResponder
  • From: Bill Bumgarner <email@hidden>
  • Date: Fri, 03 Oct 2008 16:21:47 -0700

On Oct 3, 2008, at 12:02 PM, Andre Masse wrote:
- 2 times at launch (before becoming firstResponder),
- 2 times after pressing tab for the first time (before resigning),
- 4 times when tabbing in

The author has a remark about it saying:

"Yes, acceptsFirstResponder gets called more times than you might expect each time the view is selected"

but doesn't say why...

Just for my own curiosity, why??

A very good question. Have you set a breakpoint and grabbed the backtrace from each invocation?


b.bum

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >Multiples calls to acceptsFirstResponder (From: Andre Masse <email@hidden>)

  • Prev by Date: Re: NSWindowController retain count confusion
  • Next by Date: Re: Python, Mac OS X 10.5.5 and CoreGraphics
  • Previous by thread: Multiples calls to acceptsFirstResponder
  • Next by thread: Help for a beginner..
  • Index(es):
    • Date
    • Thread