Login
You're viewing the front-end.social public feed.

Replies

  • Oct 29, 2026, 5:59 PM

    @Cykelero My vector engine was originally Mac-only, and pretty much forwarded AppKit’s mouse event messages to a different ‘handler’ depending on tool and mode. I recently brought it to iPad, and suddenly I had to distinguish touches, multi-touch gestures, Apple Pencil events, etc… so I built a wrapper that I could populate from the AppKit handlers or from UIKit gesture recognisers, then pass one type around my cross platform code.

    💬 1🔄 0⭐ 0
  • Oct 29, 2026, 8:20 PM

    @amyworrall Ooh, I see, cool stuff! And now if you targeted 27 only, you could replace that wrapper with a thin translation layer, that would only deal with the much smaller differences with the touch APIs on iOS, and the new touch APIs on macOS.

    💬 0🔄 0⭐ 0