TouchDown 잡아와서 터치지점의 CGPoint로 이벤트 핸들링을 할 일이 생겼는데..


UITapGesture에서 TouchUp이벤트를 주는 건 알겠는데

TouchDown을 하려고 보니까 뭔가 귀찮은게 있는 듯.

안드로이드에서는 쉬웠던거 같은데...

UIGesture로 하려고 하면 복잡하듯 해서,

touchesBegan에서 잡아서 하니까 된다...


http://stackoverflow.com/questions/3176304/get-touch-location-from-touchesbegan-and-other-game-questions



Posted by tenn
,




http://stackoverflow.com/questions/9235872/running-an-animation-one-after-the-other-fails

Posted by tenn
,



            NSIndexPath* ip = [NSIndexPath indexPathForRow:indexPath.row inSection:indexPath.section];

            [tableView scrollToRowAtIndexPath:ip atScrollPosition:UITableViewScrollPositionTop animated:YES];




http://stackoverflow.com/questions/2156614/how-to-start-uitableview-on-the-last-cell

Posted by tenn
,