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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to