Bind NSOutlineView to database ( newbie )
Bind NSOutlineView to database ( newbie )
- Subject: Bind NSOutlineView to database ( newbie )
- From: Alvaro Muir <email@hidden>
- Date: Mon, 10 Feb 2003 01:49:52 -0500
Hello all,
Sorry for the repeat newbie question. I asked this a few weeks ago and
seemed to have missed any responses. Has anyone ever had success in binding
NSOutline View to a database? Heres the background on my
small but first cocoa app.
I am trying to create a small app that browses a specified database and
gives a tree-view of of certain items. Here's an example DB:
vehicleID | manufacturer | make | color
__________________________________________________________
000012 Ford Mustang yellow
000013 Ford Mustang white
000121 Mercedes C240 green
000132 Mercedes E420 silver
023202 Honda Civic blue
022242 Honda CRV orange
032023 Foo Bar purple
032023 Foo Bar black
023205 Foo Bar neon-green
And I would like NSOutline view to display this information, in the order I
specify... I.e.
Ford
-> Mustang
-> yellow
-> Mustang
->white
Foo
-> Bar
-> purple
-> Bar
-> Black
-> Bar
-> neon-green
Blah, blah . . . .
My problem is connecting the NSOutlineView, I cant find a lot of
documentation on it, although there is a lot for NSTableView.
Does anyone have any experience in this, or better yet, a working example?
Tia
://alvaro
--
Alvaro Muir
Language Resource Center
Columbia University
_______________________________________________
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.