• 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
Multiple dataSource's for NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple dataSource's for NSTableView?


  • Subject: Multiple dataSource's for NSTableView?
  • From: Chuck Soper <email@hidden>
  • Date: Tue, 8 Jun 2004 15:43:07 -0700

Hello,
I have an NSTableView and 1 to N arrays of dictionaries. The table will only display one array of dictionaries at a given time. The user can change which array is being displayed by using selecting a menu (an NSPopUpButton instance).

To change the array that the table is displaying which of the following is recommended:
1. Reload data and make sure that the NSTableDataSource protocol methods access the correct array.
2. Create an object that conforms to the NSTableDataSource protocol for each array and change the dataSource of the table when I need to display a new table.
3. Something else?

Thanks,
Chuck
_______________________________________________
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.


  • Follow-Ups:
    • Re: Multiple dataSource's for NSTableView?
      • From: Robert Kuilman <email@hidden>
  • Prev by Date: Why is the list so slow?
  • Next by Date: Re: NSTextView with top indent
  • Previous by thread: Re: Why is the list so slow?
  • Next by thread: Re: Multiple dataSource's for NSTableView?
  • Index(es):
    • Date
    • Thread