News for hackers. Stuff that matters.
Re:Apple’s use of Swift and SwiftUI in iOS 15 by gh123man on Sunday December 19, 2021 @06:52PM (#29619904)
I am! I'm building a complete backend in Swift for an app i'm working on. It's actually been really great so far. I develop on my mac in xcode and deploy on linux via docker. See: https://vapor.codes/

I'm a little bias because I really like Swift as a language but Vapor is growing and there are lots of plugins to fill the gaps.

Re:Apple’s use of Swift and SwiftUI in iOS 15 by gregkerzhner on Sunday December 19, 2021 @07:25PM (#29620190)
I love Swift too, but dislike Xcode enough to where I wouldn't use it unless I was doing iOS. Even in a medium sized project basic functionality like syntax highlighting or clicking into functions is unreliable. You get used to it being an iOS dev, but switching into something like Intellij is a sobering wake up call where that stuff just works.
Re:Apple’s use of Swift and SwiftUI in iOS 15 by gh123man on Sunday December 19, 2021 @11:07PM (#29621486)
Indeed you are right. XCode absolute induces some stockholm syndrome as an iOS dev. Maybe anecdotal, but I do find swiftPM based projects to have far fewer issues than cocoapod + Cocoa based apps.

I'd love to see sourcekit-lsp (the swift lsp) to further develop. Though last time I checked it wasn't exactly usable day to day.

Re:Apple’s use of Swift and SwiftUI in iOS 15 by mmargerum on Monday December 20, 2021 @05:57AM (#29623402)
You can use emacs + lsp along with the Xcode lsp server. works great and is way more stable the XCode. I just use XCode for storyboard editing.

(add-to-list 'exec-path "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin")

(use-package lsp-sourcekit :ensure t :after lsp-mode :config (setq lsp-sourcekit-executable "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp"))

(use-package swift-mode :hook (swift-mode . (lambda () (lsp))))

Re:Apple’s use of Swift and SwiftUI in iOS 15 by syspec on Sunday December 19, 2021 @09:51PM (#29621076)
Try AppCode from intelli-j, it's also cross platform