> On 21 Mar 2016, at 12:05, yu...@aim.com 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to