Re:Ask HN: Resources to Learn macOS Development?
by kybernetyk on Monday February 06, 2023 @04:51PM
(#34684953)
This. You can also use SwiftUI inside NSHostingView. So you can do parts of your app in swift ui (preferences panel would be a good place to start).
But for more involved stuff this is not production ready yet (except you want to do major reworks with each new SwiftUI revision).
If you want to make Mac apps, learn AppKit. You can use AppKit from Swift just fine, there's no need to use Objective C. Some of the text APIs are a bit cumbersome to use with Swift because of the different string semantics, but for the most part writing AppKit code in Swift is pretty sweet.