Sep 8, 2023
Worth looking into, though you'd probably want...
struct WrappedAnyView: View {
let wrapped: AnyView
init<Content:View>(_ wrapped: Content) {
self.wrapped = AnyView(wrapped)
Get Michael Long’s stories in your inbox
Join Medium for free to get updates from this writer.
}
var body: some View {
VStack { wrapped }
}
}
Just to make to make things easier on the developer.







