Re: Expanding all rows of an outline view
Re: Expanding all rows of an outline view
- Subject: Re: Expanding all rows of an outline view
- From: Andrew Merenbach <email@hidden>
- Date: Tue, 19 Jun 2007 17:23:21 -0700
-fetch doesn't seem to have any effect upon my tree controller/
outline view setup. I still don't get my first row expanded. Any
other ideas? or...
Would you be able to refer me to the docs in question? I'm not sure
what I should be searching for, to be honest. Even I've tried the
ADC search for "NSTreeController NSOutlineView fetch" (sans quotes),
based upon your advice, and I found nothing relevant to what you've
said, as when did a search of Google with similar terms.
On Jun 19, 2007, at 5:03 PM, I. Savant wrote:
On Jun 19, 2007, at 7:59 PM, Andrew Merenbach wrote:
Is there some caveat with adding to an NSTreeController in that it
perhaps takes a certain amount of time to update bound objects,
and such that I have to wait before I can count a new row in the
total list of rows?
There are several possible gotcha's (covered by the docs). An
easy fix is to call -fetch: on your tree controller after inserting
your new instance and before expanding all your items.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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