Re: Reset/Cancel an NSSearchField
Re: Reset/Cancel an NSSearchField
- Subject: Re: Reset/Cancel an NSSearchField
- From: Steve Steinitz <email@hidden>
- Date: Thu, 21 Jun 2007 11:59:35 +1000
Hello,
With Matt helping me manage my expectations :), I was able to confirm
that the following does indeed change the NSSearchField's visible cell
string:
> [[theSearchField cell] setStringValue: @"test"];
However, now I can't work out how to make it 'trigger' the search.
There is nothing unusual about my setup: the NSSearchFields's search
predicate is bound to an NSArrayController which is displayed in an
NSTableView.
Among other things, I've tried the following without success:
[myArrayController rearrangeObjects];
[myTableView reloadData];
How can I get the search to 'trigger'?
Thanks,
Steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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