Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: f811900c67
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.