loading...

re: An Introduction to SwiftUI for React Developers VIEW POST

TOP OF THREAD FULL DISCUSSION
re: It’s amazing how much Swiftui resembles react. I found it weird that the rendered contents are defined in a property instead of a function. Why n...
 

It's true - there's basically nothing about testing in the docs. But it's still in beta, and I suspect these details will be flushed out soon. In general I find the docs really limited, actually. Besides their main tutorial, learning some basic patterns has been quite the challenge.

I'm curious as to why they define a property vs a function. Wish I knew more about Swift to make an informed guess!

Code of Conduct Report abuse