NSOutlineView - Items only displays when user scrolls in outline view
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