Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
- UITouch *touch = [[event allTouches] anyObject];
- if ([touch view] == left) {
- object.center = CGPointMake(object.center.x - 1, object.center.y);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement