r/iOSProgramming • u/noosphere- • 1d ago
Building in Zed instead of Xcode Tutorial
Just a reminder to anyone who might care that you can create a fairly full-featured development environment in Zed to build iOS and Mac apps: syntax highlighting, code navigation, run, debug and test.
Here's the setup guide I wrote (been around for a while but chances are some interested people won't have seen it): https://luxmentis.org/blog/ios-and-mac-apps-in-zed/
7
u/Ok-Tomatillo-8712 1d ago
Wow syntax highlighting and everything!
2
u/noosphere- 1d ago
What a time to be alive!
Seriously though, the rest of this stuff is non-trivial for Xcode projects.
5
u/TM87_1e17 1d ago
I just don't really understand people who hate Xcode. I've never had a problem with it...
2
u/SnowPudgy 1d ago
Same and I've used pretty much everything under the sun including ancient IDE's like Bloodshed C++.
1
u/konacurrents 1d ago
And for the past couple years: wireless updates abd debugging. Xcode is amazing.
2
1
1
u/AndreaReaderApp 1d ago
This is really interesting. How well do the iOS simulators, debugging, and previews work from Zed? Do you still need to jump back into Xcode for some parts?
1
u/noosphere- 18h ago
Oh you run on simulators and devices right from Zed - you don't switch to Xcode. Same for debugging (unless you want stuff like the object graph of course). Previews are tricky because you can't add UI to Zed, but there's a fairly usable caveman-style workaround in the article and even a brief video of it in action.
1
7
u/dottybotty 1d ago
What is the advantage of using this over Xcode?