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

🐞 Replace deprecated modifier .cornerRadius() #1747

Closed
Jerry23011 opened this issue Jun 3, 2024 · 0 comments
Closed

🐞 Replace deprecated modifier .cornerRadius() #1747

Jerry23011 opened this issue Jun 3, 2024 · 0 comments
Labels
bug Something isn't working triage needed
Milestone

Comments

@Jerry23011
Copy link
Contributor

Description

.cornerRadius(_:antialiased:) is now marked as deprecated by Xcode, using .clipShape(RoundedRectangle(cornerRadius: CGFloat)) to replace it produces identical results.

To Reproduce

  1. Go to project
  2. In code where .cornerRadius(_:antialiased:) is used, ⌥ click to see the deprecation warning

Expected Behavior

Using .clipShape(RoundedRectangle(cornerRadius: CGFloat)) will eliminate the warning

Version Information

CodeEdit: branch - main
macOS: 14.5
Xcode: 15.4

Additional Context

No response

Screenshots

No response

@Jerry23011 Jerry23011 added the bug Something isn't working label Jun 3, 2024
@FastestMolasses FastestMolasses added this to the v0.2.0 milestone Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needed
Projects
Status: 🏁 Complete
Development

No branches or pull requests

2 participants