Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.0.0
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.432 kb
//
// UIScrollView+SSToolkitAdditions.m
// SSToolkit
//
// Created by Sam Soffes on 4/12/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//
#import "UIScrollView+SSToolkitAdditions.h"
@implementation UIScrollView (SSToolkitAdditions)
- (void)scrollToTop {
[self scrollToTopAnimated:NO];
}
- (void)scrollToTopAnimated:(BOOL)animated {
[self setContentOffset:CGPointMake(0.0f, 0.0f) animated:animated];
}
@end
Jump to Line
Something went wrong with that request. Please try again.