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

Re: NSSearchField


  • Subject: Re: NSSearchField
  • From: Kurt Marek <email@hidden>
  • Date: Fri, 14 Nov 2003 18:49:50 -0800

Perfect. I also had to change the first if statement:
if ([searchString isEqual:@""]) {

Otherwise it didn't work correctly when the field was empty.

Thanks for your help.

Kurt

On Nov 14, 2003, at 6:21 PM, mmalcolm crawford wrote:

On Nov 14, 2003, at 5:22 PM, Kurt Marek wrote:

The filtering example is excellent and quite informative, but is there a way to get it to act like the iTunes search box? Even if I turn off 'Sends whole search string', it stops after it fires the first action rather than continually filtering in real time.

Making the rather presumptuous assumption you're referring to my example:
<http://homepage.mac.com/mmalc/CocoaExamples/FilteringController.zip>
yes, sorry about that. I went overboard on the bindings and connected up searchValue to a binding as well. It works better if you retrieve the searchString using good old-fashioned outlets. I've updated the example, so it now should work "as expected".

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSSearchField (From: Kurt Marek <email@hidden>)
 >Re: NSSearchField (From: Scott Anguish <email@hidden>)
 >Re: NSSearchField (From: Kurt Marek <email@hidden>)
 >Re: NSSearchField (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: NSSearchField
  • Next by Date: Re: Foundation with autoconf, automake, and libtool (RESOLVED)
  • Previous by thread: Re: NSSearchField
  • Next by thread: lame 3.93
  • Index(es):
    • Date
    • Thread