Sha256: 3604b03730c43823e8e7bae6d4fba83108a658f3be288961130e14e8f90cb12a
Contents?: true
Size: 567 Bytes
Versions: 133
Compression:
Stored size: 567 Bytes
Contents
class UITouch def to_s phase = case self.phase when UITouchPhaseBegan "began" when UITouchPhaseMoved "moved" when UITouchPhaseStationary "stationary" when UITouchPhaseEnded "ended" when UITouchPhaseCancelled "cancelled" end "#{self.class.name}(#{self.tapCount} #{self.tapCount == 1 ? 'tap' : 'taps'} #{phase},"\ " at #{self.locationInView(self.view).inspect}, @ #{self.timestamp})" end end
Version data entries
133 entries across 133 versions & 1 rubygems