Why is the .opacity AnyTransition is marked as nonisolated(unsafe)

Because of this, in Swift 6 mode, Xcode complains about the access, and ask me to use unsafe keyword.

To fix it, I need to do this:

Anyone can explain this abrupt nonisolated(unsafe) change?

Anyone can explain this abrupt nonisolated(unsafe) change?

What version of Xcode has this problem? And what version of Xcode didn’t have this problem?

It looks like you reproduce this with a small test project. What template did you start from? iOS > App?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Why is the .opacity AnyTransition is marked as nonisolated(unsafe)
 
 
Q