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

Remove onSizeChange in favor of new native APIs #989

Open
wants to merge 9 commits into
base: v.next
Choose a base branch
from

Conversation

dfeinzimer
Copy link
Collaborator

@dfeinzimer dfeinzimer commented Dec 24, 2024

Removes View.onSizeChange(perform:) which is emitting a Sendable warning in favor of onScrollGeometryChange(for:of:action:) and onGeometryChange<T>(for:of:action:) which was added as of iOS 18 but is made available back to iOS 16.

Screenshot 2024-12-23 at 4 43 22 PM

@dfeinzimer dfeinzimer self-assigned this Dec 24, 2024
@dfeinzimer dfeinzimer marked this pull request as ready for review January 8, 2025 19:00
@dfeinzimer dfeinzimer requested a review from philium January 8, 2025 19:00
@dfeinzimer dfeinzimer changed the title Remove onSizeChange in favor of View.onSizeChange(perform:) Remove onSizeChange in favor of onGeometryChange(for:of:action:) Jan 8, 2025
@dfeinzimer dfeinzimer changed the title Remove onSizeChange in favor of onGeometryChange(for:of:action:) Remove onSizeChange in favor of new native APIs Jan 10, 2025
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