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!

Post not yet marked as solved Up vote post of Mercen Down vote post of Mercen
198 views

Replies

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.

  • Of course, I reported it through the Feedback Assistant. I hope it will be fixed soon.

Add a Comment