This is my list of SwiftUI pet peeves. It's a work in progress.
- Using .onTapGesture when you should actually use a button. Although it's nicely concise, a button will show visual feedback, and can easily be adjusted for accessibility.
- Using a class when a struct suffices.
- When naming a function that instantiates something, it should be prefixed with "make", not with "get" or something else. See also: https://www.swift.org/documentation/api-design-guidelines/
- Hardcoded button sizes, when they actually should be a ScaledMetric.