• 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: Avoid smooth scrolling when scrolling programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoid smooth scrolling when scrolling programmatically


  • Subject: Re: Avoid smooth scrolling when scrolling programmatically
  • From: email@hidden (Stefan Haller)
  • Date: Mon, 12 Sep 2011 21:22:17 +0200

Kyle Sluder <email@hidden> wrote:

> On Mon, Sep 12, 2011 at 12:07 AM, Stefan Haller <email@hidden> wrote:
> > I need to set the scroll position of my NSScrollView programmatically,
> > and I don't want it to scroll smoothly (if the user's "smooth scrolling"
> > preference is on).  I can't find a way how to do that.
>
> Why would you not want to scroll smoothly if the user has decided they
> like smooth scrolling?

Imagine a master-detail interface with a master list of "documents" and
a detail view showing one document. Clicking on a different document in
the master list loads the new document into the detail pane's scroll
view, and then scrolls it to the top.


--
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
_______________________________________________

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: Avoid smooth scrolling when scrolling programmatically (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: any way to know where a UIBarButtonItem has been drawn?
  • Next by Date: Re: Submitting Mac App to the App Store
  • Previous by thread: Re: Avoid smooth scrolling when scrolling programmatically
  • Next by thread: how to get baseline info
  • Index(es):
    • Date
    • Thread