Ios swift – Creating Evenly Distributed Dotted Outline for a Rounded Rectangle in SwiftUI
EDIT: The dash size of 10 in the code sample is arbitrary. The dash size is whatever looks good. Let's say in SwiftUI, you want to have a custom list item that has a dotted outline -- to serve as…