My SwiftUI wishlist for WWDC 2020
Let me start by saying that SwiftUI is simply amazing.
I’ve been working on an open-source framework called SwiftUIX for about a year now, with the ambitious goal of filling up certain gaps while we wait for Apple’s annual release cycle. Here are a few of the things I’d like to see in SwiftUI 2.0:
1. Presentation
While SwiftUI offers some pretty powerful primitives to cover the most commonly used presentation styles such as sheets, action sheets, alerts & popovers - it leaves much to be desired in terms of customizability.
Here are things I’d like to see:
- A port for
UIModalPresentationStyle
(my attempt at this can be found here). - A port for
UIWindow
(my port here). - A port for transitioning delegates.
- A port for
UIViewControllerTransitioningDelegate
.
2. Container View Interactors
You may have come across PresentationMode
while working with SwiftUI.
public struct PresentationMode
...