Skip to content

Instantly share code, notes, and snippets.

@probablycorey
Created August 11, 2009 02:07
Show Gist options
  • Save probablycorey/165576 to your computer and use it in GitHub Desktop.
Save probablycorey/165576 to your computer and use it in GitHub Desktop.
imageView = UI.ImageView:initWithFrame(CGRect(10, 10, width, height))
imageView:setImage(image)
imageView:setUserInteractionEnabled(true)
function imageView.touchesEnded_withEvent(self, touches, event)
puts("BY THE DEVIL")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment