Sha256: 7f4242d5e2221d6be32a8044d1ceef433155e59b77022102884ba05b50e8c92b

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 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.1.1 motion/joybox-ios/common/ui_touch.rb
joybox-1.1.0 motion/joybox-ios/common/ui_touch.rb