• 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
Fwd: Post for Cocoadev
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Post for Cocoadev


  • Subject: Fwd: Post for Cocoadev
  • From: Scott Mitchell <email@hidden>
  • Date: Wed, 3 Nov 2004 15:34:36 -0700

I am posting this for a co-worker of mine. Does anyone have any ideas on this.

Thanks,
Scott Mitchell
Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com


Begin forwarded message:

From: Tyler Berry <email@hidden>
Date: November 3, 2004 3:32:03 PM MST
To: Scott Mitchell <email@hidden>
Subject: Post for Cocoadev

In previous threads on Cocoadev, people have talked about how to synchronize the scrolling of multiple NSTableViews to give the illusion of a 'fixed column'.

http://cocoa.mamasam.com/COCOADEV/2004/02/2/84862.php

While that solution works great for what it does, it's incomplete. Specifically, if the 'slave' table - the one without the subclassed -reflectScrolledClipView: method - is scrolled, perhaps by clicking and dragging inside the table view, selecting multiple rows and eventually scrolling off the bottom of the table, the 'master' table view will sit blissfully unscrolled.

I tried subclassing /both/ of the NSScrollViews, but it seems like they got into a vicious loop where they would continually try to reflect their scrolling on each other as each was updated.

Does anybody have any suggestions on how to do this the right way, and keep the views synchronized no matter where or how the scroll occurs?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: NSBezierPath clipRect confusion
  • Next by Date: Re: Sheets and hidden apps
  • Previous by thread: Re: Meaning of NSFont italicAngle?
  • Next by thread: Tiger
  • Index(es):
    • Date
    • Thread