Post

Replies

Boosts

Views

Activity

Reply to Stop using MVVM for SwiftUI
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.
Jan ’24
Reply to Allow custom tap gesture in List but maintain default selection gesture
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.
Jan ’24
Reply to Unable to install “myapp”
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.
Sep ’23