Re: NSSplitview and NSTableview
Re: NSSplitview and NSTableview
- Subject: Re: NSSplitview and NSTableview
- From: Roland King <email@hidden>
- Date: Mon, 21 Mar 2016 14:12:48 +0800
> On 21 Mar 2016, at 12:05, email@hidden wrote:
>
> Hi,
> I spent sometime on this strange issue but still could not figure out. I hope i could get some help from the group.
>
>
> I have a NSScrollView which contains an NSSplitView; the splitView contains four panes; each pane is a NSTableView with just one row of text;
> After i added the last table view to the splitView, i scrolled the NSScrollView programmatically by the scrollView content frame size like the following:
>
> [_myScrollView contentView].frame.size.width;
>
>
> However, the data in the last table view does not appear until 8 seconds later; strange thing is if i clicked on its neighbor view on its left, the data comes up right away.
>
>
> The 8 seconds delay is very puzzling and i am not sure what area i should look into; seems like the delegate on the last table view is not called until 8 seconds later.
>
>
Did you scroll on the main thread? The delay sounds like exactly what you get when you do UI operations on a background thread.
_______________________________________________
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