Understanding NSOutlineView...
Understanding NSOutlineView...
- Subject: Understanding NSOutlineView...
- From: Ron Ballesteros <email@hidden>
- Date: Tue, 16 Dec 2003 16:31:26 -0800
I'm trying to understand how to implement the NSOutlineView and I'm
having a hard time grasping how to implement the datasoure methods. I
understand how to implement an NSTableView datasource methods quite ok
but the NSOutlineView I can't seem to grasp.
The object models that I want to show essentially is an array and each
array item in turns has 5 items which can be viewed as its 5 children.
I can't seem to grasp what the (id)item is? I read that the item is an
object containing the data for
one row....
for example the method: outlineView:child:ofItem. this appears to be
requesting for the child of
item but I'm not sure what item is, is this an object in the parent
array or one of the 5 children.
I looked at the developer example and like I've said, I can't seem to
grasp it...
Any pointers that somehow leverage off of my said object model above
would be appreciated...
thanks.
_______________________________________________
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.