Sha256: 598e2b684b4a27c91980d2b9b6fa3bd30036305c306319f0e6e5c5199aea785a

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

class UITouch

  # We need a method instead of the alias method because of 
  # the 'Type `{CGPoint=ff}@:@' not precompiled' error
  def location_in_view(view)

    locationInView(view)
  end

  def location

    Joybox.director.convertTouchToGL(self)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joybox-1.0.0 motion/joybox-ios/common/ui_touch.rb
joybox-0.0.6 motion/joybox-ios/common/ui_touch.rb