asafkorem / COSTouchVisualizer

Visualize touches, gestures and long presses on your iPhone or iPad
https://www.conopsys.com/COSTouchVisualizer/
MIT License
960 stars 70 forks source link

Swift 3 issue #25

Closed zigzagg16 closed 7 years ago

zigzagg16 commented 7 years ago

I'm using Swift 3, and the sample code. When compiling, I get this error:

Command failed due to signal: Segmentation fault: 11

  1. While emitting SIL for getter for window at /AppDelegate.swift:14:14

By removing the lazy keyword, this error disappears, but I got a new error at: customWindow.touchVisualizerWindowDelegate = self

Any idea to solve this issue ?

Thx, Arnaud

joeblau commented 7 years ago

I've update the example, but I should really have a better way for configuring the touch window.

zigzagg16 commented 7 years ago

Awesome, thanks a lot ! 👍

joeblau commented 7 years ago

Oh and here is the new version I'm working on too:

https://github.com/design-utilities/sensor-visualizer

It's not done and there are still some things I need to figure out. I also might change the API so I wouldn't' count on it yet, but it's a work in progress.