Re: Re: How to load data from NSDictionary to NSTableView?
Re: Re: How to load data from NSDictionary to NSTableView?
- Subject: Re: Re: How to load data from NSDictionary to NSTableView?
- From: Raul <email@hidden>
- Date: Thu, 12 Oct 2006 23:10:52 +0200
Thanks for your reply , but i don't know how to load to the first
column or second column of the NSTableView.
What methods i have to use?
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:...];
> 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