¡@

Home 

2014/10/15 ¤U¤È 10:15:03

iphone Programming Glossary: tpoint.y

UITableView: scrolling programmatically the content view

http://stackoverflow.com/questions/3457900/uitableview-scrolling-programmatically-the-content-view

NSLog @ BEGTB previousXPan 0.0 UITouch touch touches anyObject CGPoint tPoint touch locationInView self previousYPan tPoint.y super touchesBegan touches withEvent event super touchesShouldBegin touches withEvent event inContentView self self nextResponder.. rc.size.width CGRect newRect CGRectMake rc.origin.x rc.origin.y self.contentSize.height self.contentSize.width fabs tPoint.y previousYPan NSLog @ BOND RECT f f f f rc.origin.x rc.origin.y rc.size.height rc.size.width NSLog @ NEW RECT f f f f newRect.origin.x.. newRect.size.height newRect.size.width self scrollRectToVisible newRect animated YES NSLog @ Content OFFSET f tPoint.y previousYPan self setContentOffset CGPointMake rc.origin.x tPoint.y previousYPan 2.0 animated YES previousYPan tPoint.y..