Wrong information found in SwiftUI documentation!

In scaleEffect(_:anchor:) documentation, There is no CGSize(x:y:) initializer. It should be fixed like CGSize(width:height:). What an interesting discovery!

Welcome to the forum. There are many other similar examples of code samples in documentation that are not uptodate. Don't loose too much time on this.

You should file a bug report against documentation.

And anyway it is detected by compiler with suggestion on how to correct or with auto completion advice.

Wrong information found in SwiftUI documentation!
 
 
Q