Disclaimer I code for the web, so I wouldn't be affected by the SwiftUI part.
Trying to make the iPad thing work for almost 10 years, I finally gave up and bought a Surface Pro (7 first, and upgraded to 8).
People use to joke about the length iPad user go to execute simple tasks.
Like logging to a remote server to reboot it. You can do it on an iPad, you just need an SSH app, share your keys with it, and you're done. Then you push a bit further to check out some git repo, change it and push it, and have your server update. But you're probably three apps down the line at this point, they can't really share a common working directory in the way you expect it to work as files are managed individually, there is the backgrounding issues etc.
You can make most things work, but through piles of hacks, workflow glue, paying for many more external services or basically moving everything remote, out of the iPad.
At some point I had a RPi stuck to the iPad to locally ssh into it.
Or you spend the same amount of effort and frustration, but on Windows, on a machine that has none of the silly limitations, can run an actual linux subsystem locally, Docker if you want to, a full VSCode available offline and any other real pro tool you need.
Basically, for the same amount of pulling hairs a Surface Pro actually delivers where the iPad always falls short in some way.
I used to use Surface Pros, but I switched to a Dell Latitude 2-in-1 to get an external eGPU (w/ Thunderbolt 3 before Surface Pro added it)
I like it so much more. It's a little thicker, but it's cheaper, it's repairable (I've replaced the battery twice), and it supports Linux better. I love having a Surface-like that runs Linux
I've been doing development work using Surface Pros since version 4. They are not perfect, but they do the job (for me at least) better than anything else.
I do web development on an iPad Pro, using Blink.sh and a remote server. Not a bad experience, really. Works better with an external monitor hooked up for live-reloading, and not having a real, proper web inspector is a drawback, but it works.
I totally agree it can work, I also had a somewhat working setup.
At some point I just asked myself if avoiding Windows was worth all the tradeoffs. Windows is still completely clunky and ugly, to be honest I feel I exchanged polish and elegance for actual power.
Staying so long on the iPad, it felt really weird when I needed to test on firefox...and I can just run firefox. No need to VNC other some other desktop or use Browserstack style services, "it just works" to borrow the expression.
Windows 11 + Windows Terminal + Windows Subsystem for Linux + VS Code is not clunky at all in my opinion. It looks and works great. If you want to use Docker it's actually better than macOS because you don't need to install bloated desktop apps, you can directly install it on the Linux kernel.
Trying to make the iPad thing work for almost 10 years, I finally gave up and bought a Surface Pro (7 first, and upgraded to 8).
People use to joke about the length iPad user go to execute simple tasks.
Like logging to a remote server to reboot it. You can do it on an iPad, you just need an SSH app, share your keys with it, and you're done. Then you push a bit further to check out some git repo, change it and push it, and have your server update. But you're probably three apps down the line at this point, they can't really share a common working directory in the way you expect it to work as files are managed individually, there is the backgrounding issues etc.
You can make most things work, but through piles of hacks, workflow glue, paying for many more external services or basically moving everything remote, out of the iPad.
At some point I had a RPi stuck to the iPad to locally ssh into it.
Or you spend the same amount of effort and frustration, but on Windows, on a machine that has none of the silly limitations, can run an actual linux subsystem locally, Docker if you want to, a full VSCode available offline and any other real pro tool you need.
Basically, for the same amount of pulling hairs a Surface Pro actually delivers where the iPad always falls short in some way.