4 ms·
Swift hasn’t required Xcode for several years now. It has robust command line tooling and a VSCode plugin. https://www.swift.org/documentation/articles/gettin
by _mlbt 2y ago
Swift hasn’t required Xcode for several years now. It has robust command line tooling and a VSCode plugin.
https://www.swift.org/documentation/articles/getting-started-with-vscode-swift.html https://www.swift.org/documentation/articles/getting-started...
- airstrike 2y agoDespite being terrible, the last time I checked, the experience in Xcode was somehow still meaningfully better than with the VSCode plugin
- rescripting 2y agoWhat don’t you like about the VSCode plugin?
- jitl 2y agoFor me it just spins forever and never manages to do any LSP things
- rescripting 2y agoIf you haven’t tried recently I’d give it another go. A lot of work has gone in to the LSP this past year to stabilize it and improve performance.
- myko 2y agoPretty similar to the Xcode experience, then
- jitl 2y agoI find Xcode completion and especially doc lookup pretty good. It’s not as good as being able to jump straight into framework source code like with Android Studio but better than pretty much anything in VS Code in any language. That is, as long as there’re no type errors in my code… once I get a little too creative in SwiftUI all bets are off.
- tux3 2y agoI believe it still does at least for iOS, or it did last time I checked (for a Swift library I was writing).
- jitl 2y agoHence this announcement is great, since it seems to say they’re (going to?) support building GUI apps with SwiftPM and/or the newly open sourced build tool.
- Zanfa 2y agoSwiftPM has always supported building GUI apps.
- plorkyeran 2y agoBuilding Swift code for iOS without going through xcodebuild is sort of obnoxious but is possible. You do need to have a copy of Xcode installed regardless of programming language simply because the iOS SDKs aren't distributed separately.