SwiftUIBackports
SwiftUIBackports copied to clipboard
A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
## Describe your changes This pr adds a new push [transition](https://developer.apple.com/documentation/swiftui/anytransition/push(from:)) from SwiftUI 4 lifecycle - Added func push(from edge: Edge) -> AnyTransition Question: Is there an example how to...
In order to keep everyone up-to-date with what I'm working on and to avoid duplication, here's a list of the currently planned additions/backports. Some just require documentation and cleanup (since...
## Describe your changes This adds a `func interactiveDismissDisabled(_ isDisabled: Bool = true)` backport.
In an effort to try and match the official API, I have also managed to 'force' the content to `trailing` alignment in the `HStack`.
@schiewe made a great point on one of my APIs that including non-backport API alongside the real backport could make it difficult to continue using the enhancement once the back...
## General Information See attached project - Project version: 1.6.3 - Platform/OS version: iOS 14.0-14.4 - IDE version: Xcode 13 - Devices: - Any related GitHub issues: ## Describe the...
On iPad, popover's also respect this value. Add support as per: [](https://twitter.com/natpanferova/status/1559432218032087042)
In order to best serve the community, please request features (or react to an existing one) using the comments on this issue. I will then prioritise all efforts to try...
## Describe the feature A new public `EnvironmentValue` (and optionally a public-facing `ViewModifier`) that enables or disables internal use of the first-party APIs that this package backports when running on...
PhotoPicker not binding data func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) { isPresented.wrappedValue = false }