Hey Apple or developers..About ipad swift playground!

When i use on my swiftUI app the (@Binding) Some error coming:

Error: Property wrappers are not yet supported on local properties

And: Closure containing a declaration cannot be used with function builder 'ViewBuilder'

Any body Help me?

Unfortunately, the message is clear: that will be possible probably in a future version of SwiftUI.

In the meantime, have a look here for a workaround (I didn't test it yet):

https://stackoverflow.com/questions/59092948/using-swift-5-1-property-wrapper-seems-to-break-swiftui-updates-known-issue

Could you also show the code where you get errors, there may be other solutions to solve it, like declaring outside.

I think you declared your Property wrapper outside of a view struct (like on the to level of the Playground code) which is not supported.

Hey Apple or developers..About ipad swift playground!
 
 
Q