CGAffineTransforms, Arcs, and Quad Curves in SwiftUI

Make creating custom shapes a little less daunting

Aubree Quiroz
Better Programming
Published in
4 min readJan 27, 2020

--

I recently found myself in need of a customizable popup bubble that could point up, down, left, or right. What seemed relatively simple ended up becoming a massive headache. Drawing the rounded corners of the rectangle alone was absolutely miserable. Since I’m probably not the first to…

--

--