• 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
[Q] How to add nested items to NSOutlineView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] How to add nested items to NSOutlineView?


  • Subject: [Q] How to add nested items to NSOutlineView?
  • From: JongAm Park <email@hidden>
  • Date: Wed, 05 Nov 2008 16:40:48 -0800

Hello.

I'm writing a "Source List View" using the NSOutlineView and an NSTreeController.
It should work on Mac OS X 10.4 Tiger, so I can't use NSTreeNode.


My Source List View is based on Mark Alldritt’s source list view, http://www.latenightsw.com/blog/?p=29.
Problem is that when a data source for the view is set up at first, it can even display nested items.
However, if I get reference of an item in existing view and insert new item in its data source, NSMutableArray, it can't display the newly added nested items.


I tried NSTreeController's rearragneObjects and the NSOutlineView's reloadItem:reloadChildren, but it doesn't seem to work for me.

Can anyone tell me how to add new items?

Thank you.
_______________________________________________

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


  • Follow-Ups:
    • Re: [Q] How to add nested items to NSOutlineView?
      • From: Benjamin Stiglitz <email@hidden>
  • Prev by Date: Re: Key Paths @count and mutablestrings
  • Next by Date: Re: [Q] How to add nested items to NSOutlineView?
  • Previous by thread: Getting square corners of UITableView grouped style???
  • Next by thread: Re: [Q] How to add nested items to NSOutlineView?
  • Index(es):
    • Date
    • Thread