• 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: Programatically Triggering an NSSearchField Search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically Triggering an NSSearchField Search


  • Subject: Re: Programatically Triggering an NSSearchField Search
  • From: Steve Steinitz <email@hidden>
  • Date: Wed, 26 Nov 2008 22:44:06 +1100

Hi Frédéric

I determined that a single method will propagate a programatically-set NSSearchFieldCell value to its NSArrayController:

    [searchfield setStringValue: aSearchString];
    [searchfield performClick: self];

Ta-Dum.

Thanks again Frédéric and all the best,

Steve

_______________________________________________

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


  • Prev by Date: Re: Preventing a user from moving a window
  • Next by Date: Re: Number of Files on Volume
  • Previous by thread: Re: Programatically Triggering an NSSearchField Search
  • Next by thread: NSImage/NSImageView/GIF Saving an Animated GIF from NSImageView
  • Index(es):
    • Date
    • Thread