logoalt Hacker News

eptcykatoday at 5:46 AM3 repliesview on HN

But can I develop iOS apps with vim? As in, easy to execute commands for debugging, running app and tests?


Replies

micampetoday at 6:56 AM

If you’re willing to try Neovim I’ve been using xcodebuild.nvim for a couple of years (for macOS not iOS, but they’re both supported).

https://github.com/wojciech-kulik/xcodebuild.nvim

pjmlptoday at 9:37 AM

Yes, provided you are running vim on macOS, and calling into the xcode command line tooling.

fingerlockstoday at 7:57 AM

Yes, But an iOS app requires a helluva lot more than just the Swift language. For example, Metal has zero support so you have to use ft=cpp and disable lsp diagnostics. And you can completely forget Xcode’s wonderful Metal debugger entirely.

Otherwise swift works just like any other clang/llvm project and the tooling is basically the same.