Just replying here to get some more traffic on this.
It's kind of ridiculous that we still don't have this feature.
Post
Replies
Boosts
Views
Activity
The tools available for us to debug SwiftUI issues are astonishingly bad. Obfuscating stack traces like this makes it even worse. I really hope more is coming in the pipeline for these issues. Or swiftUI adoption will continue to be slow.
Theres just one caveat to all of this.
With swift observation, all of those ObservableObject issues go away.
The observation framework is smart enough to only update the views that are actually observing a value (just like @State does). Rather than every view (and all of its children) that has an @ObservedObject/@EnvironmentObject/@StateObject in it.
So for projects supporting iOS 17 and newer, MVVM is probably valid.
Also Pointfree back ported Observation to iOS 13. So theoretically, you can use all of this new observation stuff right now.
can confirm this happens on iOS 17.2 as well.
It seems like the issue is the lists built-in selection and swipe gestures interfere with any added custom gestures.
I have tried using high priority gestures, simultaneous gestures and just regular gestures and none of them seem to allow BOTH the list and the custom gestures to work simultaneously.
I have noticed this issue with quite a few of the UIKit backed swiftui features such as context menus, Lists, Forms, etc...
Maybe it's time that SwiftUI started to get native SwiftUI implementations of these features.
We're experiencing the same issue with the release candidate. Seems that Xcode 15 is not able to install our dev certificate to the device.
So there is no way of actually trusting it.
Edit:
Not quite show how I fixed it. But by some combination of deleting derived data, restarting my phone, and reinstalling Xcode 15 release candidate it now work.