Skip to content
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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

CarlosDelaMoraFavor
Copy link

@CarlosDelaMoraFavor CarlosDelaMoraFavor commented Dec 4, 2024

  • Add support to iOS 16
  • Update swift-tools-version: 6.0

Comment on lines 73 to 75
} else {
view
}
Copy link
Author

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.

Copy link
Member

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.

@CarlosDelaMoraFavor
Copy link
Author

I reverted back to swift-tools-version to 5.8 since 6.0 requires too many changes for strict concurrency.

@wtmoose wtmoose requested a review from cfoughty7 December 10, 2024 19:36

import SwiftUI

extension View {
Copy link
Member

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)
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants