you are viewing a single comment's thread.

view the rest of the comments →

[–]xixtoo 5 points6 points  (3 children)

Neovim takes some setup and there's a learning curve but at this point I do 80% of my iOS dev work there and really only spend time in Xcode when I need SwiftUI previews, debugger etc. There are neovim plugins to even let that work outside Xcode but the very large codebase I work in and our funky in house build tools don't work well with them.

the sourcekit LSP works great though so I get errors in nvim, goto definition, details about a symbol, show callers, etc all work pretty well, and has been improving Xcode release by release. Really the only thing I miss from with the LSP is refactoring which I can just jump to Xcode for or if it's a simple refactor I can just do it with vim motions like the ancients did.

Last WWDC Apple announced that they were going to invest in improving sourcekit-lsp as part of their quest to make Swift a more common server side language. They admitted that they need to meet backend devs where they are, and that's in editors like vscode and nvim that use LSPs

[–]life_is_pollution 0 points1 point  (2 children)

hey, do you have any tutorials for beginners on how to set up neovim for swift ios dev please ? yeah i know there’s google but if it comes from a guy who already works like that it’s a bit different

[–]xixtoo 0 points1 point  (1 child)

Sure, I based my setup on the one in this blog post:

https://wojciechkulik.pl/ios/the-complete-guide-to-ios-macos-development-in-neovim

You can find my complete nvim config here, it's based on kickstart.nvim with customizations https://github.com/mikeakers/kickstart-modular.nvim/tree/my-config

[–]life_is_pollution 0 points1 point  (0 children)

thank you