It is not easy to find good resources for macOS Swift development, especially if you want to create the UI programatically. Hereby I collected some of my working code snippets, maybe it will be useful.
As SwiftUI is getting more popular and with v3 it can be used for macOS development too, I'm planning to create similar with SwiftUI too. (No promise :D)
- Cocoa Binding
- MapKit with custom annotation
- KVC/KVO
- MapKit for macOS
- Collection View on macOS
- Outline View
- Custom Tab View on macOS
- Very minimalistic Table View
- Table View with Model
- Table View with Load/Save (not document-based app)
- PaintCode
- NSWindow and NSView programatically
- SourceList View
- Split View with Storyboard
In case you need some more information, my blog can be found here: https://kicsipixel.github.io/