Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by kitsunesoba on Saturday May 16, 2020 @12:14PM
(#23204678)
Errors in SwiftUI are significantly better in the recently released Swift 5.2, so this is clearly something they’re working on.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by doteka on Saturday May 16, 2020 @02:16PM
(#23205814)
I certainly hope so, because this was definitely on Swift 5.2 . In general if you come in expecting a dev experience anywhere close to writing React in Typescript using VSCode, SwiftUI and Xcode both are a bit of a disappointment - it's slow, it's glitchy, autocomplete kind of sucks, never mind tooling like Prettier which I take for granted now.
In fact, most of the time I found myself staring at a “type too complex, add annotation” error. That one doesn’t actually mean your type is too complex, it just means you’re passing the wrong thing somewhere and instead of a useful error message the compiler just gave up and broke.