• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Understanding NSOutlineView...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Understanding NSOutlineView...
      • From: Chris Hanson <email@hidden>
    • Re: Understanding NSOutlineView...
      • From: email@hidden (Simon Fraser)
  • Prev by Date: Re: Can I drag-install dylibs?
  • Next by Date: Re: windows title bar at left
  • Previous by thread: Re: NSSegmentedControl not giving small and mini variants?
  • Next by thread: Re: Understanding NSOutlineView...
  • Index(es):
    • Date
    • Thread