This is a nicely designed application. I've always struggled to make UIs look good like this, even with SwiftUI which ostensibly should make it easier.
Any tips to share for how to approach SwiftUI code to achieve the sort of aesthetic you've got here?
I think a balance of the classic macOS and iOS experience and app- and function-specific elements are key for the feel.
I made a dozen prototypes and variants over the last month. I iterate as I use the app myself. I keep what feels just right, I improve what I feel is not quite there, I remove what doesn’t work. I make an effort to prioritize function over form while tending to form within and around function: high-density informaton, self-evident controls, haptic feedback, visual cues, and evolving and adapting controls and layout to what feels right. It is taste as much as it is engineering.
SwiftUI does make it easier by an order of magnitude or three. It just needs to be understood for it to work well. It has to mixed with Cocoa and UIKit for native controls and native interactions (such as properly handling a scroll view’s offset).
SwiftUI’s strengths are layout composition, ease of animating, efficient dataflow, value-semantics, ease of changing things up, swapping in and out alternatives while prototyping, interactive hot-reload previews, making custom controls and layouts, and again, the ability to mix and interact with the classic frameworks wherever and whenever needed.
It can be improved in a bunch of ways, but once you’ve bridged the “missing parts” and embraced using it to layout and style and control classic frameworks while handling dataflow, it is just perfect. It is also as efficient as possible or can be made so.
Any tips to share for how to approach SwiftUI code to achieve the sort of aesthetic you've got here?