Kyle Sluder <kyle.slu...@gmail.com> wrote: > On Mon, Sep 12, 2011 at 12:07 AM, Stefan Haller <li...@haller-berlin.de> > 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 (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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com