Help - Outline view woes
Help - Outline view woes
- Subject: Help - Outline view woes
- From: April Gendill <email@hidden>
- Date: Sun, 29 Feb 2004 11:52:25 -0700
Ok... I am really bad with outline views. Let me start with this.. Yes
I did read the docs and yes I did look at the examples and I know less
now than I did before I read the docs and looked at the examples.
So my plea for help is as follows:
First off : I have tried a node structure similar to those in the
examples but it simply does not work. I really hate the examples... The
apple examples took a stupid short cut and rather than actually typing
the information out they defined it and just use NODE_DATA() so I
totaly have no idea what I'm looking at. The4 examples from my books
also use this node structure format but some how thee is a magic I
don't understand because their data source magically knows what info to
pass where as mine does not. (And yes at this point as far as I'm
concerned this is all magic.)
Second : How do I return the data to the view for display because
outline views down reference indecies or keys or anything.. they
reference item, how the hell to I find out what "item" is if I don't
have any common point of reference? Tables are 1 dimensional and simple
it's just an array index, but outlines look like they are meant to
handle dictionaries.. However none of the examples use a dictionary
they use some whack tree node structure thing that is so confusing to
me I cant even begin to grasp it.
Third: I have been tinkering with a test project that uses an outline
view but since I cannot make it work (probably the fault of a flawed
data structure since I don't get it), the test project does not
function. Would any one be willing to take a look at the project at
note what my mistakes are? I don't want another example. I'd like to
know why MY data structure fails. I understand the format of MY
structure, I have a damn good idea how to get data out of it and with
NSLog I can. I just don't know how to pass the correct information to
the view. I need assistance getting MY data to be correctly displayed
in the outline view
Thanks
April.
_______________________________________________
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.