• 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
holding NSOutlineView from display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: holding NSOutlineView from display
      • From: Jens Alfke <email@hidden>
  • Prev by Date: NSNumberFormatter Changes Reflected In NSTextField
  • Next by Date: Re: Crashes with NSOpenPanel and garbage collection
  • Previous by thread: Re: NSNumberFormatter Changes Reflected In NSTextField
  • Next by thread: Re: holding NSOutlineView from display
  • Index(es):
    • Date
    • Thread