I'm having some strange SwiftUI issues in a widget I'm building.
Applying opacity to Text results in the Text not being rendered
The above code fails to render (in preview and on simulator) for my widget target. It renders fine in a Playground.
Applying trim to a Circle results in the Circle not being rendered
Again, the above code fails to render (in preview and on simulator) for my widget target. It renders fine in a Playground.
Does anyone have any ideas what could be causing this. I'm using Xcode 12.3
Applying opacity to Text results in the Text not being rendered
Code Block Text("hello") .foregroundColor(Color.green) .opacity(0.4)
The above code fails to render (in preview and on simulator) for my widget target. It renders fine in a Playground.
Applying trim to a Circle results in the Circle not being rendered
Code Block Circle() .trim(from: 0.1, to: 0.5)
Again, the above code fails to render (in preview and on simulator) for my widget target. It renders fine in a Playground.
Does anyone have any ideas what could be causing this. I'm using Xcode 12.3