Re: NSOutlineView doesn't flush cache?
Re: NSOutlineView doesn't flush cache?
- Subject: Re: NSOutlineView doesn't flush cache?
- From: Matt Neuburg <email@hidden>
- Date: Fri, 14 Jun 2002 11:04:40 -0700
On Wed, 12 Jun 2002 14:02:43 -0500, Brian Webster <email@hidden> said:
>
This works fine, but it's exhibiting a rather strange behavior.
>
First I select one set of data to display and twist down some
>
triangles in the outline. Then I select a second set of data,
>
and it displays fine. Then, I switch back to the first set of
>
data, but the triangles are twisted down for the same objects
>
they were last time. Furthermore, if I have two sets of data
>
that share the same object, twisting down the triangle for a
>
given object in one set will cause that some object to be
>
twisted down when displaying the other set.
>
>
From what I can tell, the problem is that the outline view is
>
keeping an internal cache of these items
I don't think it's the items that NSOutlineView is caching; it's the
expansion state of particular rows. In many contexts this is a good thing.
Where it isn't, you can just set the expansion state yourself. I'm sorry to
be vague, but I'm still working on an implementation for this myself. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.