From: Jon B. <jo...@gm...> - 2007-06-24 02:23:14
|
Hi, Im trying to follow an ObjC example for a Ruby Cocoa project and would like to filter through an array accessor in a NSTableView and the example shows basically to subclass NSArrayController to use as a filter and set the delegate of the search field to that class (which would receive the search events) and bind all values to the filter. I would have been under the impression w/ predicates that it would really involve no real code needed and I would just line up the columns to the search field directly but that does not seem the case. So my question is do I ~need~ a filter array and have it set to do an instant search? The Spotlight example seems to almost be what Im looking for but how to get the search to update the table view instantly w/ just IB. Thanks. - Jon |