OutlineView, bindings and array of NSDictionaries.
OutlineView, bindings and array of NSDictionaries.
- Subject: OutlineView, bindings and array of NSDictionaries.
- From: Sandro Noel <email@hidden>
- Date: Mon, 17 Nov 2008 16:51:30 -0500
Greetings!
Once again, I am faced with a problem :)
I cant seem to get my data to display properly in the Outline View,
and i am sure it is because of the organisation of my data that it
does not display
so I'm asking you guy's to sugest some ideas.
I have an array of Dictionaries the dictionary is organised like this.
"ServerName"
"VolumeName"
"TransportName"
"MountDirectory"
"UserName"
"Password"
"Async"
I would like to use the ServerName as a root node (grouped) an then
use the VolumeName as child nodes of that server name.
using bindings if possible. so for instance, if i had,
Dictionary 1
serverName = Server1
VolumeName = Volume1
Dictionary 2
serverName = Server1
VolumeName = Volume2
Dictionary 3
serverName = Server1
VolumeName = Volume3
in the outline view they would be displayed as:
> Server 1
Volume1
Volume2
Volume3
is that at all possible with my model, or do i have to change the
model to fit with some requirements ?
I cant find a tutorial on the outline view that explains how to use
bindings in this way.
Thank you!
Sandro Noel.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden