Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
- NSNotificationCenter.defaultCenter().postNotificationName(TOUCH_BEGAN, object: touches)
- }
- override func touchesMoved(touches: Set<UITouch>, withEvent event: UIEvent?) {
- NSNotificationCenter.defaultCenter().postNotificationName(TOUCH_MOVED, object: touches)
- }
- override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
- NSNotificationCenter.defaultCenter().postNotificationName(TOUCH_ENDED, object: touches)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement