Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 432 Bytes
//
// 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