• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView and multiple NSArrayControllers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >NSTableView and multiple NSArrayControllers (From: Gabriele de Simone <email@hidden>)
 >Re: NSTableView and multiple NSArrayControllers (From: Scott Anguish <email@hidden>)
 >Re: NSTableView and multiple NSArrayControllers (From: Gabriele de Simone <email@hidden>)
 >Re: NSTableView and multiple NSArrayControllers (From: mmalcolm crawford <email@hidden>)
 >Re: NSTableView and multiple NSArrayControllers (From: Gabriele de Simone <email@hidden>)

  • Prev by Date: Re: setApplicationIconImage
  • Next by Date: Re: file browsing?
  • Previous by thread: Re: NSTableView and multiple NSArrayControllers
  • Next by thread: Re: NSTableView and multiple NSArrayControllers
  • Index(es):
    • Date
    • Thread