> On 9 May 2016, at 3:50 PM, Quincey Morris 
> <quinceymor...@rivergatesoftware.com> wrote:
> 
> AFAIK there’s nothing in Cocoa that will implement this for you. I’m not sure 
> that using two table views is really very complex — they could potentially 
> use the same data source and delegate — but the trick is to get the vertical 
> scrolling in sync. I believe this is doable, though awkward. There’s even 
> documentation:
> 
>       
> https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/NSScrollViewGuide/Articles/SynchroScroll.html
> 
> but I warn you that this document was last updated in 2010, and the last time 
> I tried to make sense of it I was pretty sure its sample code was confused 
> and buggy.


I’ve done this, based on that code. Yes, it was a bit buggy, but I got it to 
work. The app it’s a part of still works when compiled with the latest tools 
and SDK. But yes, you need two separate table views to do this.

—Graham



_______________________________________________

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