• 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
NSOutlineView - Items only displays when user scrolls in outline view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView - Items only displays when user scrolls in outline view


  • Subject: NSOutlineView - Items only displays when user scrolls in outline view
  • From: Gilles Celli <email@hidden>
  • Date: Fri, 02 Sep 2011 14:15:25 +0200

Hello,

I've setup a  Document based application with an NSOutlineView which displays Parent-Item along with its children…with XCode 4 on OS X Lion.

When launching the application, the outline view shows the Root title…only if I refresh the outline view the children are displayed too.

I've also tried to do a reloadData along with reloadItem:nil reloadChildren:YES for the OutlineView (in method windowDidLoad and tried also
(void)applicationDidFinishLaunching: ) but this doesn't fix it…

However I've setup a NSButton to refresh the outlineView which then calls 'reloadData' and 'reloadItem:nil reloadChildren:YES' and then it works…
but this is of course not the solution I want…

Does someone has any clues ?

Any help is greatly appreciated.

Cheers,

Gilles

_______________________________________________

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: NSOutlineView - Items only displays when user scrolls in outline view
      • From: Michael Babin <email@hidden>
  • Prev by Date: Re: Core Data Xcode 4 question
  • Next by Date: Re: NSOutlineView - Items only displays when user scrolls in outline view
  • Previous by thread: Re: NSScrollView animation (animate scroll point)
  • Next by thread: Re: NSOutlineView - Items only displays when user scrolls in outline view
  • Index(es):
    • Date
    • Thread