¡@

Home 

2014/10/15 ¤U¤È 10:13:08

iphone Programming Glossary: rc.origin.x

UITableView: scrolling programmatically the content view

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

self.contentSize.width CGRect rc self bounds NSLog @ f f rc.size.height 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 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.origin.y newRect.size.height.. 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 super touchesMoved touches withEvent event self nextResponder..