Source Code For SwiftUI Drag & Drop - Minimal App UI - Xcode 13 - SwiftUI Tutorial.
Download Code 👇
Comments
1:51 is it necessary in this case mark function as @ViewBuilder? As far as I know, it would work without it and @ViewBuilder is user in another case for marking closures like here:
https://developer.apple.com/documentation/swiftui/viewbuilder