• 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
Re: NSOutlineView initial expansion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView initial expansion


  • Subject: Re: NSOutlineView initial expansion
  • From: Andrew Shamel <email@hidden>
  • Date: Wed, 3 Dec 2008 22:09:43 -0800

Ahh, brilliant!!  It worked a treat.

Thanks so much!



Try delaying your call to expandItem: in your awakeFromNib.

- (void)expandAllItems {
	[outline expandItem:nil expandChildren:YES];
}

- (void)awakeFromNib {
	/* snip */

[self performSelector:@selector(expandAllItems) withObject:nil afterDelay:0.0];
}

_______________________________________________

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


References: 
 >NSOutlineView initial expansion (From: Andrew Shamel <email@hidden>)
 >Re: NSOutlineView initial expansion (From: Ashley Clark <email@hidden>)

  • Prev by Date: Re: NSOutlineView initial expansion
  • Next by Date: Re: Correct location to store application data.
  • Previous by thread: Re: NSOutlineView initial expansion
  • Next by thread: How to draw rounded Images
  • Index(es):
    • Date
    • Thread