• 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: NSRulerView Fast Scrolling Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRulerView Fast Scrolling Issues


  • Subject: Re: NSRulerView Fast Scrolling Issues
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 3 Jan 2008 18:35:41 +0000

On 3 Jan 2008, at 18:33, David Harper wrote:

That was exactly the assumption that caused the problems in the first place. The way I corrected it was by comparing the bounds rectangle of the scroll view's content view before and after the draw method was called. This gives the correct scroll offset.

Indeed, but you still haven't said what you hope to achieve by obtaining the scroll offset. It seems likely that there will be another way to do what you want that doesn't involve such a computation.


Kind regards,

Alastair.

--
http://alastairs-place.net




_______________________________________________

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


References: 
 >Re: NSRulerView Fast Scrolling Issues (From: David Harper <email@hidden>)

  • Prev by Date: Re: Circular initialization of controllers in NIB file
  • Next by Date: Re: Circular initialization of controllers in NIB file
  • Previous by thread: Re: NSRulerView Fast Scrolling Issues
  • Next by thread: Messaging Nil
  • Index(es):
    • Date
    • Thread