• 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: Clear NSSearchField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clear NSSearchField


  • Subject: Re: Clear NSSearchField
  • From: Randy Widell <email@hidden>
  • Date: Sat, 18 Oct 2014 17:13:59 -0700

Yeah, that doesn’t work either.  I’m clearing the search field in response to a change in selection in an outline view.  Which means the search field is already not the first responder.  So, setting the first responder to nil just makes the outline view give up first responder without affecting the search field.


> On Oct 18, 2014, at 15:19, Kyle Sluder <email@hidden> wrote:
>
> On Sat, Oct 18, 2014, at 04:51 PM, Randy Widell wrote:
>> That works somewhat, but not really.  Half the time the search field
>> remains the first responder as if the call to set the outline view as the
>> first responder never happened.
>
> Have you tried forcing the text field to give up first responder via
> [textField.window makeFirstResponder:nil] ?
>
> --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


_______________________________________________

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: 
 >Clear NSSearchField (From: Randy Widell <email@hidden>)
 >Re: Clear NSSearchField (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: How does the Swift Darwin module work?
  • Next by Date: Re: Toolbar icons, yosemite
  • Previous by thread: Re: Clear NSSearchField
  • Next by thread: Toolbar icons, yosemite
  • Index(es):
    • Date
    • Thread