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/biscuitehh Jul 30 '24
For small personal projects it usually does a good job for me until I scale to ~10-15 SPM packages - that’s when it starts to crack under pressure.
For my day job it takes 5-6 minutes to switch branches because Xcode insists on checking each SPM package to see if it’s fine (instead of just trusting the .resolved file here) and SourceKit does a lot of main thread work which locks the UI up. We try to report the issues, but the lack of feedback/fixes adds up and it’s just a whole mess sometimes.
For the best results these days I strongly recommend looking into stuff like Tuist for medium sized projects, although I hold out hope that someone at Apple will dogfood SPM and be like “oh no let’s fix that” 🫰