logoalt Hacker News

jgbuddyyesterday at 8:05 PM4 repliesview on HN

This is huge, long time coming. Interested to see if there is SwiftUI support.


Replies

rockbrunoyesterday at 8:13 PM

This extension is for "pure" Swift development, not iOS development. I doubt the latter will ever officially happen. It's possible to make it work for iOS at an unofficial capacity though by hooking into the extension's LSP support. We did this at Spotify to enable iOS development in Cursor for Bazel iOS projects: https://github.com/spotify/sourcekit-bazel-bsp

show 2 replies
hyzylayesterday at 8:24 PM

No so straightforward, but there is project that parses xcodebuild logs and pass them to lsp to provide LSP for SwiftUI projects https://github.com/SolaWing/xcode-build-server

Also I build extra tooling to facilitate iOS development in VSCode https://github.com/sweetpad-dev/sweetpad

show 1 reply
pezgrandetoday at 6:39 AM

I hate that I need to create an Apple account (with email and phone verification) just to be able download the sdk to use MacOS APIs. To make things worse I tried for like one hour to create an account and couldn't because for some reason I was no receiving the verification email.

nielsbotyesterday at 8:09 PM

What type of support do you mean? Language checking? Live previews?