Skip navigation.
 
mlFiltering the Contents of an Array Controller
FROM : August Trometer
DATE : Mon Apr 11 20:37:33 2005

I've got a subclass NSArrayController whose contents are displayed in 
a table via bindings. There are several types of objects in this list 
differentiated by various criteria. I'd like to let my users filter 
that list and show only the type (or types) that they want.

My first attempt was to use my subclass and overwrite 
arrangedObjects: and filter there. However, because the list of 
objects is rather long, this resulted in poor redraw performance and 
jerkiness during scrolling.

For various reasons (mostly performance and stability), I'd like to 
keep all the objects in the array and simply filter them. Is there a 
way to do this that I'm missing?

Thanks!

August

Related mailsAuthorDate
mlFiltering the Contents of an Array Controller August Trometer Apr 11, 20:37
mlRe: Filtering the Contents of an Array Controller Kevin Callahan Apr 11, 20:44
mlRe: Filtering the Contents of an Array Controller August Trometer Apr 11, 21:13
mlRe: Filtering the Contents of an Array Controller Matt Neuburg Apr 12, 00:29