Post

Replies

Boosts

Views

Activity

Reply to [Xcode 12.1] Circle().trim not drawing after Xcode update
I think I have a similar problem. Since Xcode 12.1, my widgets won't display Arcs anymore (Shape, Path, addArc), while e.g. Shapes like Rect still work. I also didn't find anything related to that in release/change notes of Xcode. So I'm just wondering if this is a bug, or if Apple just put more constraints on Widgets, without mentioning them?! Anyway, this really sux, as my widgets heavily rely on displaying those arcs. :-( Example: struct Arc: Shape {     func path(in rect: CGRect) -> Path {         var path = Path()         path.addArc(center: CGPoint(x: 50, y: 50), radius: 25, startAngle: Angle.degrees(0), endAngle: Angle.degrees(90), clockwise: true)         return path     } }
Oct ’20