I'm working on my multi-platform #SwiftUI app and while at first I thought, "This is great! Just use # if os(macOS) or (iOS) and use the same SwiftUI code files... but now when I focus too much on one platform for a while, I accidentally break things on the other platform. Maybe I forgot to throw in a # if os(_) somewhere.
I'm sorta back to just creating more separate files again. Idk... I guess it is a balancing act.
=> More informations about this toot | More toots from marioguzman@mastodon.social
@marioguzman this is exactly what happened to me when building for VisionOS, I ended up just keeping files separate when needed
=> More informations about this toot | More toots from shaundon@mstdn.social This content has been proxied by September (3851b).Proxy Information
text/gemini