r/iOSProgramming • u/Cultural_Rock6281 • Jul 30 '24
Discussion Xcode is actually a great IDE.
I am no software engineer nor do I work in a big team at a tech company, so I appreciate that I might not be the ideal candidate to judge this, but:
Is it only be that actually REALLY likes Xcode?
As a hobby programmer Xcode has everything I want:
great syntax highlighting
responsive autocomplete / suggestions
nice text editing features like the side-ribbon to quickly collapse code blocks, comment out code etc, refactoring, multi-file-editing
modern programming language
hot reload previews for quick „live“ iterations
simple way to manage assets
simple way to handle language localization
simple version control with Git integration
I honestly don‘t know what else I could wish for. I‘m building my app using an entry level M1 MacBook Air that I bought for 700€. It only has 8GB of RAM but so far I didn‘t notice any performance limitations because of it. I think that in itself is quite impressive.
Why does Xcode get so much hate online? What are some „real“ shortcomings? What would you say is „the best“ IDE in comparison?
1
u/Vybo Jul 30 '24 edited Jul 30 '24
How big is the project you're working on? I see everything in one workspace, do you modularize your app or have more than, let's say, 5 dependencies (Swift Packages)?
Have you used other IDEs?
My take: I always worked with somewhat big codebases (50+ packages, 400k+ lines of code) with big teams (30+ devs).
In projects that big, it quickly falls apart. You don't get suggestions almost at all when you work cross-package, you don't get click-throughs to type definitions, loading the project takes a minute or two (on M1, M3 Pros) with a lot of loading balls in the meantime. When you use SPM, make a file in a package and it needs to resolve those 50+ dependencies again, you wait another minute with lag...
Of course we optimize as much as we can and due to the architecture, the previews work and need to build only 1-5 packages, so working with that is quick, but it's A LOT worse than Android Studio of our Android counterparts working on the same app.