๐ Replace deprecated modifier .cornerRadius()
Jerry23011 opened this issue ยท 0 comments
Jerry23011 commented
Description
.cornerRadius(_:antialiased:)
is now marked as deprecated by Xcode, using .clipShape(RoundedRectangle(cornerRadius: CGFloat))
to replace it produces identical results.
To Reproduce
- Go to project
- 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