SwiftUI's trim() modifier lets you draw only a portion of any shape by specifyin...

@twostraws@mastodon.social

SwiftUI's trim() modifier lets you draw only a portion of any shape by specifying start and end values between 0 and 1. It's perfect for building custom progress indicators with just a few lines of code. hackingwithswift.com/quick-sta