holding NSOutlineView from display
holding NSOutlineView from display
- Subject: holding NSOutlineView from display
- From: Nick Rogers <email@hidden>
- Date: Fri, 9 May 2008 21:29:26 +0530
Hi,
my app has only one window, with the outline view in a tab, which I
show after the data is ready.
The problem is how can I hold outline view until, the data is ready
completely.
I gather that I'd have to do something with the method:
- (id)outlineView:(NSOutlineView *)ov child:(int)index ofItem:(id)item
{
if (item)
return [item childAtIndex:index];
else
return [selectedPTVolume dirRoot];
}
if I return nil in this method (until my data is ready) instead of
dirRoot, will it do the trick, and will i have to make changes to
other methods in my outlineview implementation?
If this doesn't work is there any other way?
Wishes,
nick
_______________________________________________
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