Re: How to: NSPopover Refuse First Responder?
Re: How to: NSPopover Refuse First Responder?
- Subject: Re: How to: NSPopover Refuse First Responder?
- From: Seth Willits <email@hidden>
- Date: Wed, 20 Mar 2013 14:14:10 -0700
On Mar 20, 2013, at 6:53 AM, Brad Stone wrote:
> I'm trying to replicate the NSPopover functionality that the new iTunes has and I'm 99% there. The las problem I'm facing is when the NSPopover appears it steals the firstResponder status from the NSSearchField so the user's typing gets interrupted when the popover appears. I tried giving the firstResponser status back after the popover appear but all that does is mess up the user's typing.
>
> How can I have a popover appear but have the NSSearchField never relinquish it's firstResponder status or have the NSPopover refuse firstResponder?
Hmm. I can think of reasons why this might not work, but it's worth a shot: Have you tried subclassing NSPopover and returning NO from -acceptsFirstResponder?
--
Seth Willits
_______________________________________________
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