Last active
July 18, 2016 11:45
-
-
Save sheafk/c2162daa5e6a9c5e083eaec9a4d34eba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) { | |
if let touch = touches.first { | |
let position = touch.locationInView(view) | |
print(position) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment