Re: NSSearchField
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.