ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1.1K
active users

LongPressGesture (specifically .updating) is broken in iOS 18 SDK and since April 24 is the deadline after which all apps have to be built with 18 SDK, I'm faced with having to hack together my own gesture. Apple's own code in the docs is broken (developer.apple.com/documentat). Thinking I'll create my own UIGestureRecognizer with a timer and use UIGestureRecognizerRepresentable.

Apple Developer DocumentationLongPressGesture | Apple Developer DocumentationA gesture that succeeds when the user performs a long press.
Scottymac

So I've got a nice, custom UIGestureRecognizerRepresentable replacement working, but it only works in iOS 18. So I can't use that b/c I need to support 17. That kind of day.