• 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
Re: discontiguous bounds ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: discontiguous bounds ?


  • Subject: Re: discontiguous bounds ?
  • From: Graham Cox <email@hidden>
  • Date: Mon, 09 May 2016 17:59:12 +1000

> On 9 May 2016, at 3:50 PM, Quincey Morris <email@hidden> 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 (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: discontiguous bounds ?
      • From: Jonathan Mitchell <email@hidden>
References: 
 >discontiguous bounds ? (From: Miller Dale <email@hidden>)
 >Re: discontiguous bounds ? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: discontiguous bounds ?
  • Next by Date: Re: discontiguous bounds ?
  • Previous by thread: Re: discontiguous bounds ?
  • Next by thread: Re: discontiguous bounds ?
  • Index(es):
    • Date
    • Thread