RE: https://mastodon.social/@swiftlang/116286524514684047
This release brings a lot of “finally” updates. It will remove a lot of friction!
RE: https://mastodon.social/@swiftlang/116286524514684047
This release brings a lot of “finally” updates. It will remove a lot of friction!
My new SwiftUI book is finally out! 🎉
I wrote "The SwiftUI Way" for developers who feel like they are fighting the framework as their projects grow in complexity. The book will help you align your code with SwiftUI's internal expectations to avoid common pitfalls.
Swift/JS interop used to mean "JSObject", "JSValue", and runtime surprises.
BridgeJS changes that: annotate your Swift, get typed glue code in both directions. Compile-time safe. Zero manual boilerplate. 🧵
BridgeJS landed as an MVP just two weeks ago, and is evolving fast.
Check it out with the interactive playground — paste Swift, and see the generated results live: https://swiftwasm.org/JavaScriptKit/PlayBridgeJS/
Docs here: https://swiftpackageindex.com/swiftwasm/javascriptkit/main/documentation/javascriptkit
I have a SwiftUI -> UIViewRepresentable -> UIView -> UIViewControllerRepresentable -> SwiftUIView
I set up tap gesture recognizer on UIView (works perfectly), which adds a subview (view controller representable), which should react on taps as well, but it ignores them all. View has a button, action is not registered (but visually tap occurs), text field is not editable, tap gesture recognizers are not working.
I am at lost right now, maybe someone would have a lead where to look? #SwiftUI