Re: filterPredicate not effecting NSArrayController

2012-11-22 Thread jonat...@mugginsoft.com
On 22 Nov 2012, at 00:27, Erik Stainsby erik.stain...@roaringsky.ca wrote: The tableView is bound to an arrayController object in XIB, which is in turn a ref to this (weak) peopleArrayController in the windowController. The predicates (whichever is triggered) print to log just as

Re: filterPredicate not effecting NSArrayController

2012-11-22 Thread Erik Stainsby
Thanks for leading this horse to water, Ken. I removed the arrayController from the NIB and set the tableView's Content to File's Owner peopleArrayController.arrangedObjects and VOILA. *sigh* I seem to consistently try to put too much into the (nib/code) and get in the way of the services

filterPredicate not effecting NSArrayController

2012-11-21 Thread Erik Stainsby
Hello list, I have the following code as the action for an NSSearchField (lifted liberally from a CIMGF article)): - (IBAction) updateFilter:(id)sender { // clobber any previous value - from SO article - has no effect [self.peopleArrayController setFilterPredicate: nil];

Re: filterPredicate not effecting NSArrayController

2012-11-21 Thread Ken Thomases
On Nov 21, 2012, at 6:27 PM, Erik Stainsby wrote: [self.peopleArrayController setFilterPredicate: nil]; [self.peopleArrayController setFilterPredicate:p]; [self.peopleArrayController setFilterPredicate:cp]; [self.peopleArrayController rearrangeObjects];