• There was a slide in the Platforms State of the Union, at timestamp 11:02, that showed a whole bunch of new SwiftUI features, and included a reference to “Custom Gestures.” I haven’t seen any mention of this in documentation, nor is it clear if any of the sessions this week will cover it. Where can I find more info?

  • There doesn't seem to be a good swiping gesture solution for List or ScrollView in swiftUI. Either swiping left and right in List doesn't customize the background of the button, etc., or swiping left and right in scrollview using DragGesture conflicts with scrollview gestures, such as stuck and delayed. How is it possible in the Diary app for iOS 17 to swipe to the right to show the Favorites button, and the swipe gesture does not conflict with the vertical gesture for List or scrollview? Or is it implemented in UIKit? Is it also necessary to face and solve these gesture problems in spatial-computing?

  • I have a bottom sheet with scrollable content in my app, similar like the one in Apple Maps. In some conditions, e. g. when the sheet is fully presented and the scroll offset is 0, I would like, that you can only scroll in one direction. At the moment, I use gestureRecognizerShouldBegin of UIScrollView in an UIViewRepresentable for that.But I would like, to accomplish that just with SwiftUI. Unfortunately ScrollTargetBehavior is only called, when a scroll gesture ends. Is there something similar, for when a scroll gesture starts? Or do you have other ideas, to achieve that behavior?

  • How can I implement a confirmation, when the user pulls down a sheet? Exactly how adding an event in the Calendar app asks if you want to discard or keep editing the new event. There is View.interactiveDismissDisabled() to prevent it being pulled down, but I can't find a way to react to the user trying to pull it down. In UIKit it would be https://developer.apple.com/documentation/uikit/uiadaptivepresentationcontrollerdelegate/3229888-presentationcontrollerdidattempt