Re: How to load data from NSDictionary to NSTableView?
Re: How to load data from NSDictionary to NSTableView?
- Subject: Re: How to load data from NSDictionary to NSTableView?
- From: "Mark Munz" <email@hidden>
- Date: Thu, 12 Oct 2006 09:46:45 -0700
You can use the [dictionary allKeys]; method which returns an NSArray of keys.
Then for the first column, return the value of the NSArray at rowIndex.
For the second column, get the value of NSArray at rowIndex and use it
as the key in [dictionary objectForKey:...];
On 10/12/06, Raul <email@hidden> wrote:
Hi to all ,
I have a NSDictionary with the keys of the columns i want to show into
a NSTableView.
I take a look at Apple Documentation , but i don't find how to load
data from NSDictionary to NSTableView.
Anyone can give a sample code?
Thanks.
--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden