/*COPY AND PASTE THESE FUNCTIONS TO YOUR .m FILE*/

-(void)setup {
// use this to setup the refresh control.
// put setup code here instead of init
}

-(void)handleScrollingOnAnimationView:(UIView *)animationView
withPullDistance:(CGFloat)pullDistance
pullRatio:(CGFloat)pullRatio
pullVelocity:(CGFloat)pullVelocity {
// used to control UI elements during scrolling
}

-(void)resetAnimationView:(UIView *)animationView {
// should reset UI elements here
// called after refresh control finishes and is hidden
}

-(void)setupRefreshControlForAnimationView:(UIView *)animationView {
// Set refresh animation to correct state before a new cycle begins
}

-(void)animationCycleFor
AnimationView:(UIView *)animationView {
// UI changes to be animated each cycle
}

-(void)exitAnimationForRefreshView:(UIView *)animationView withCompletion:(JHCompletionBlock)completion {
// animation for when refreshing is done.
// does not need to be overridden
// if empty no animation will be executed
completion();
}

+(CGFloat)height {
//return the height
}

+(NSTimeInterval)animationDuration {
//return the animation duration
}