• 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
Problem with NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NSPopUpButton pullsDown:YES and dummy first item - normal?
  • Next by Date: Re: [Q] doubleAction on a NSTableView misbehaving?
  • Previous by thread: re: core data, opening a previously saved xml file... bug/glitch/unexpected behavior
  • Next by thread: NSDocument Object Changing
  • Index(es):
    • Date
    • Thread