Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f41913bcaf
Fetching contributors…

Cannot retrieve contributors at this time

file 30 lines (24 sloc) 0.647 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
//
// UIScrollView+SSToolkitAdditions.h
// SSToolkit
//
// Created by Sam Soffes on 4/12/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//

/**
Provides extensions to `UIScrollView` for various common tasks.
*/
@interface UIScrollView (SSToolkitAdditions)

///----------------
/// @name Scrolling
///----------------

/**
Scroll to the top of the receiver without animation.
*/
- (void)scrollToTop;

/**
Scroll to the top of the receiver.
@param animated `YES` to animate the transition at a constant velocity to the new offset, `NO` to make the transition immediate.
*/
- (void)scrollToTopAnimated:(BOOL)animated;

@end
Something went wrong with that request. Please try again.