Living off the iPad as an Engineer
Since I transitioned from working all day on my personal MacBook Pro to receiving a work computer for a new engineering position, I decided to go for the only financially wise thing: selling my beloved 16" MacBook Pro to live off the 2018 iPad Pro I had around for iOS app development as my main computer for my personal life.
While I loved the feeling of knowing that I could open and run anything on the MacBook Pro — aka a conventional laptop — the idea of moving solely to the efficient machine that is the iPad Pro was appealing for various reasons. Yet the question remained: how would I continue the work on side-projects, whether they be software or hardware? There is a lot of talk these days about how LumaFusion is real competition to Adobe Premiere, or that Affinity Photo has nothing to fear from desktop Photoshop. While I do spend some time with such creative apps, how am I supposed to maintain my personal webpage, write code for my Raspberry Pi, or create CAD models for 3D printing?
The answer is mostly through remote access. Fear not, dear reader, we’ll try to rely on tools that are native or at least feel native on the iPad Pro, not just cheap Teamviewer-ing. What started as just a 9 to 5 setup challenge, not the other way around, is now much more than that.
Note 1: This is merely a shoutout to great products I’m using daily and isn’t sponsored. The links are not affiliated either. I’ll try to provide different options as well as keep some focus on open-source software.
Note 2: The new iPad Air now features most of the laptop-like abilities of its Pro brother; therefore, I’ll only use the term “iPad” in the following. But bear in mind: the cheapest 2020 8th-gen iPad still has the old form-factor and a Lightning port, making it incompatible with some of the following.
I was lucky enough to have an LG Ultrafine 4K display in my possession for use with the MacBook Pro. These fancy displays, designed hand-in-hand with Apple, are compatible with both Thunderbolt devices like the MacBook and with standard USB-C devices like the iPad. However, you can’t use the same cable, so if you are to buy this one, make sure you’re using the one with an iPad label on it before returning it out of frustration!
I believe it’s common knowledge that you can’t just work out of a laptop form-factor all day without destroying your neck. Here the cheapest option would be to go with one of the pretty cool arm mounts specifically designed to put the iPad right in front of your eyes or just a pile of books. This allows the expensive pixels to get the amount of attention they deserve while also enabling instant video calling.
While an external monitor is really comfortable, one thing to note is the lack of *full* external monitor support with iPadOS at the time of writing (version 14.4). Connecting a USB-C display like the Ultrafine essentially triggers an AirPlay mirroring of the iPad’s screen and is therefore really not as satisfying as a standard laptop+display setup with an extended desktop for greater multitasking. Depending on its size and resolution, you’ll most likely end up with black bars around the mirrored video flux. It’s annoying even though you do get used to it. But there are ways around it.
The workaround is indeed in the ability of iOS apps to specify how an external monitor should be used. For instance, Netflix uses the iPad’s display for media controls while broadcasting the content onto the monitor. Luma Fusion has a mode for the video editor to stay on the iPad’s screen while live previewing on the monitor in full-screen.
And in a clever workaround, a popular app called Shiftscreen leverages these APIs to enable side-by-side web multitasking on the full external monitor, which is pretty convenient since nowadays a lot of work is actually happening within web apps like Google Docs or JIRA. On top of that, the app is still able to project the side-by-side browser on the external monitor even when it’s in Split Mode, therefore enabling another iOS app to be interacted with, such as a todo-list or direct messaging.
I have to say, it’s an excellent option for specific tasks, but after a while, I just learned to love the mirrored interface. Now I’m rarely spending my time in apps that provide full monitor support. App Switching via Cmd+Tab or the gestures is hugely satisfying, plus I don’t think it has brought my productivity down at all. In fact, it might have improved my focus on the task at hand.
External Keyboard and Mouse/Trackpad
Speaking of hitting keys and performing gestures. While the iPad itself has an incredibly mobile form-factor, we owe ourselves a decent desk setup. After all, we are turning it into our personal workstation.
On the high-end of the spectrum lies the incredible Magic Keyboard for iPad. It’s heavy. It’s stupidly expensive. But it’s my best purchase of the year. It effectively turns the iPad into a laptop with its form-factor, Trackpad, and additional charging port. On top of that, the keys have nothing to envy from a real Magic Keyboard. It’s so good it made it to my main desk. Thankfully though, Logitech came up with a much more affordable option, the Folio Touch for 11" iPads.
Now even cheaper options are possible, such as just getting a good regular Bluetooth keyboard to complete a stand mount like the mechanical Keychron K2, as well as a mouse—I can’t not recommend the MX Master series, but the Pebble, for something on the pocketable side, is excellent and very affordable in the K380 combo. The external Magic Trackpad 2 is incredible to use and works well with iPadOS but is, granted, on the expensive edge of the spectrum of pointing devices.
Update: After quite some time with the Magic Keyboard for iPad on my desk, I revised the setup, with the tablet laying flat under the monitor to quickly take handwritten notes or drawings, with the Keychron K2 + Magic Trackpad 2 as input devices. We’ll see if it sticks!
Software Dev: Remote Server and Native Apps
Let’s get into some real engineering tools. As I’m sure you already know, there’s no walled garden like iOS/iPadOS. Apps are fully contained, Files is some kind of file explorer yet remains very limited, and firing up a local command line is pure fantasy.
How the heck do we write and run our beloved code, Pierre? 💁
As is so common these days, the trick is in the cloud. While it comes with its drawbacks such as with spotty connections, offloading the work to a remote, safe, always-accessible machine has some nice things going for it. A hosted instance can be fired up in a matter of minutes these days. To stay somewhat minimalist, I chose to keep an old laptop plugged in inside a closet, but there are many options out there.
There’s essentially two solutions that work for me at the moment: Visual Studio Code in the browser, which can be achieved in various ways; or a native SSH client app such as Termius or Blink Shell. The former is a cross-platform cloud SSH/Mosh service that has really good iPad support. Its main downside is the lack of a full external monitor integration, as mentioned earlier. Blink Shell features it, and it works quite well. Picture that clean tmux/vim session on a 4K monitor, at the cost of losing mouse support, though.
For a proper IDE, there are ways to run the undisputed leader of the last years—VS Code — in Safari. I personally only fire it up for refactoring and large Git diffs. I’m happy with terminal-only work otherwise. code-server is a project that does exactly that, and at the time of writing comes with a Beta parameter
--link that does all the hard work of securing the connection. A one line command to install on various hosts, and another one-liner for port-forwarding to start the remote access. For more details on the setup with more technical bits, you can check out my Notion project page.
The big downside here is the lack of scrolling support. Lucky for me, I’m navigating keyboard-only with the help of the Vim extension (Colemak version), but it’s a real barrier to entry. It’s related to a bug in the web engine. Nonetheless, there are a few hosted solutions with the same problem, such as Stackblitz and GitHub Codespaces—which both get honourable mentions yet aren’t open source—so I’m confident that issue might get solved soon.
Update: the scrolling issue is fixed as of iPadOS 14.5 Beta 1, which requires enrolling here. This means more people will be able to enjoy a proper coding experience on the iPad, and is really good news.
The example below shows VS Code running in Safari for iPad. It would be a great use case for Shiftscreen, which could have both VS Code and whatever docs on the side for a true multitasking experience on an external display.
Side note: there is no such thing as a system clipboard manager on iPadOS, which is quite inconvenient when coming from other desktop platforms. While there are various paid solutions that offer cloud clipboard syncing and beyond, the non-iPad-optimized Clipboard++ brought me exactly what I needed: a way to automatically save my Cmd+Cs so I don’t have to worry about overwriting the system buffer. Neat!
Software Dev (Bonus): Local Raspberry Pi
The folks for whom a cloud connection isn’t an option can still hope: the most recent iteration of the sweet Raspberry Pi comes with a USB-C power and data port. Hence it’spossible to both run it and give it ethernet access from the iPad with one cable.
This enables a lot of possibilities, including local SSH, code-server-ing and access to the Desktop Environment. I have yet to test this, but there are plenty of guides out there, notably one from the very official MagPi.
A great way to make sure some coding work gets done when we get to travel again ✈️
Hardware Dev: Remote Server and Remote Desktop
Here comes the harder part: hardware (easy).
To put it bluntly, there’s no SSHing into Computer Aided Design software. There’s no way of vim-editing a SolidWorks file. OpenSCAD might be an exception to these statements, yet it’s most definitely niche.
Two options I have explored:
- use some kind of Remote Desktop software to access our closet computer/server and run the software remotely;
- choose a web-based CAD software.
The first option could apply to a broad range of software beyond just CAD. The real bottleneck here is the quality of the iPad app. I’ve gone through many of the free options à la TeamViewer or Chrome Remote Desktop. But none provided mandatory things for my use case like full mouse buttons support (including click-and-drag with the wheel, for instance). Jumping into more premium territory, Splashtop remains free for personal and same-network use and has a great iPad app, but has a monthly fee for real remote access. The one that ended up meeting all my needs was the $19.99 Jump Destkop. With its outdated app icon and steep price tag, this was clearly not my first choice. But their Fluid Remote Desktop protocol for Windows and macOS has just been a very smooth experience. It works wonders with external mice and Trackpads, and it has full external monitor support on the iPad with automatic resolution matching. On top of that, it supports VNC (even over SSH tunnels) to connect to Linux hosts such as a (local) Raspberry Pi or other instances I use for work on a daily basis.
And it has stood the test of time: the whole design for my GeeXY 3D printer project was created through Jump Desktop on the iPad. No regrets so far!
The second option lies in the cloud web-based CAD system: Onshape. I’ve been bullish on their system through college since they’ve nailed quite a lot of CAD aspects that are out of this article’s scope. While I do use it from time to time on Safari on the iPad, I’ve been loyal to the great open-source FreeCAD lately because I’m also using it at work (it even runs on Linux!).
A life of workarounds? Most definitely.
Coming from macOS, the holy grail for many curious people who care about a furnished software library, first-class terminal experience and compatibility, the fully mobile iPad path is definitely not the easiest path to meet our specific needs as developers or engineers.
But the joy, I mean it, the joy, that this iPad experience brings is what got me up for the challenge and kept me on the hook for side-projects as well as working from home. At the moment, there’s no going back, and it’s become clear that Intel chips are not missed at all, by me or many people with the new M1 Macs.
One curious thing I noticed in the iPadOS environment is a widespread old-school pay-once/use-forever business model, which offers quite a shelter from our subscription-based world. Shiftscreen was $3.99, Jump $19.99, and LumaFusion $29.99. It’s now paid for. Let’s enjoy the ride.
This story was originally published on Unicorn Utterances, a place to learn about all sorts of programming topics. Go check out other articles!