Re: Multiple dataSource's for NSTableView?
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.