Clarko on Nostr: npub1cuf76…e6f4c npub15mlsk…z2w4s npub185t5l…upwlf npub17pe89…uvcm6 SwiftUI ...
npub1cuf76pf3j3ddxx64z2l7luypf7xvfvhjyq4raxvxvgh2p0dj6jksne6f4c (npub1cuf…6f4c) npub15mlsk26z49ynfwv9m0ncuwzpkzr0nuyvjazjv7mg0l66xwjq2z2sez2w4s (npub15ml…2w4s) npub185t5ln9ss2mdlpthts4e73q72yyl8uj3hlayhpsll36uue84pcesdupwlf (npub185t…pwlf) npub17pe89yh43h7n7rxg8a0aamy5teqzvqtemjc6tp4n48p5f4fx4wss6uvcm6 (npub17pe…vcm6) SwiftUI isn’t responsible for what you dislike about System Settings.
By default, SwiftUI uses the AppKit widgets. You have to *opt in* to different styles, which System Settings has done.
And you can quibble about those styles, for sure. But this is about the designers, not the technology.
Difference between the screenshots below:
.formStyle(.grouped)
.toggleStyle(.switch)
Otherwise it’s the same code in both cases.
By default, SwiftUI uses the AppKit widgets. You have to *opt in* to different styles, which System Settings has done.
And you can quibble about those styles, for sure. But this is about the designers, not the technology.
Difference between the screenshots below:
.formStyle(.grouped)
.toggleStyle(.switch)
Otherwise it’s the same code in both cases.