Hello guys,
is there a shortcut an easy way, how to wrap block of code (espacially while with SwiftUI) into another generic structure?
I found there is command+click quick action menu to Embed in HStack, VStack and List, which is very nice and convenient feature, but I'd like to have something same available when I want to put block of code inside other structure, like guard, if or if let condition, or when I need to put one view inside another, (all that happens quite often with SwiftUI).
I know probably to some of you might sound like stupid this question, but so far I could not find out, if there's such feature, I would love to know, have good day everyone, bye bye.
Manoli