Problem with NSOutlineView
Problem with NSOutlineView
- Subject: Problem with NSOutlineView
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 02 Apr 2009 14:48:05 -0700
Hello all.
I'm using an NSOutlineView driven by an NSTreeController. I use it to
display the file system from different location on disks, a bit like
in the Finder in 10.5 with the sidebar. The problem I'm having is when
I expand an item from one location and then switch to another
location, even though the controller content is cleared and reloaded,
the exact same row where the previous location was loaded will appear
expanded. After reloading the NSTreeController, I iterate over each
item in the outline view and send it a collapseItem: but that has no
effect.
What am I missing?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://nemesys.dyndns.org
Logiciels Nemesys Software email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries
_______________________________________________
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