-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for iOS 16 #7
base: main
Are you sure you want to change the base?
Support for iOS 16 #7
Conversation
} else { | ||
view | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is not clear to me how the animations would look like if we don't apply geometryGroup()
and new animations are created. But probably we can leave that to a separate PR, in case the animations are unacceptable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can define our own geometryGroup()
for pre-iOS 17 that applies the identify transform, which has the same effect.
I reverted back to swift-tools-version to 5.8 since 6.0 requires too many changes for strict concurrency. |
|
||
import SwiftUI | ||
|
||
extension View { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you changes this to the following (to match what we use in Bootstrap)?
/// Provides a way to introduce a code block as a view modifier.
@ViewBuilder func map<Content: View>(@ViewBuilder _ transform: (Self) -> Content) -> some View {
transform(self)
}
Update swift-tools-version: 6.0