Re: NSTableView and multiple NSArrayControllers
Re: NSTableView and multiple NSArrayControllers
- Subject: Re: NSTableView and multiple NSArrayControllers
- From: Scott Anguish <email@hidden>
- Date: Mon, 26 Apr 2004 14:09:06 -0400
On Apr 26, 2004, at 12:48 PM, Gabriele de Simone wrote:
I was hoping to use the following strategy as an alternative to
filtering (for one, to avoid failed insertions with filtering on, or
to have many different types of filters without crowding the
arrangeObjects function):
<snip>
And simply insert "arrangedObjectsWithFilter" where previously one was
using "arrangedObjects". I also have a triggerValueForDependentKeys
call in the +initialize method so that this new
arrangedObjectsWithFilter is updated whenever one changes
arrangedObjects.
More importantly, is this a good approach for this kind of filtering
problems?
as far as returning data sure.
as far as insert goes, that's tougher. It should be fixed so that you
can do the inserts even if the filtering is on (file a bug please) but
in the interim, when you do an insert you could switch it to turn off
the filtering first (automatically).
ultimately, I think this is a UI issue (which doesn't make it any
easier to solve).
_______________________________________________
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.