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

Re: Multiple dataSource's for NSTableView?


  • Subject: Re: Multiple dataSource's for NSTableView?
  • From: Frank Midgley <email@hidden>
  • Date: Thu, 10 Jun 2004 17:05:35 -0500

On Jun 8, 2004, at 6:19PM, Robert Kuilman wrote:

What you could do, is maintain an array of dictionairies, and one pointer, pointing to the Nth element in your array.
Upon changing the popup menu, change the pointer, reload your data, and you'd be done.

Taking this one step further, set the represented object of each item in the pop-up menu to be the appropriate array. Then in the datasource method get the represented object of the selected item of the pop-up and return data from it.

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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: 
 >Multiple dataSource's for NSTableView? (From: Chuck Soper <email@hidden>)
 >Re: Multiple dataSource's for NSTableView? (From: Robert Kuilman <email@hidden>)

  • Prev by Date: Re: mysql objc options
  • Next by Date: Re: Rasterizing an NSString to a bitmap
  • Previous by thread: Re: Multiple dataSource's for NSTableView?
  • Next by thread: Problem with DEBUG symbol in Debugging.h after XCode upgrade
  • Index(es):
    • Date
    • Thread