I’ve seen a lot of questions from people on Reddit and Slack looking for resources on Mac development in Swift. Compared to iOS development there are relatively few resources for learning to write Mac apps in Swift. I’ve collected what I found and am sharing with you.
The book Hacking with macOS is the most current book on Mac development. It teaches Mac development by building 18 projects.
The book Cocoa Programming for Mac OS X is the only other Mac programming book I see people recommend online. The book uses Swift 1.2 so a lot of the code is not going to compile with recent versions of Swift and Xcode. If you can work around that limitation, the book does do a good job of introducing Mac development with Cocoa.
AppCoda has several Mac programming tutorials.
Places to Ask Questions
- Stack Overflow. Use the
cocoatag when asking Mac programming questions.
- Apple’s developer forums
- MacRumors forums
The following workspaces on Slack are places where people talk about Mac development:
- AppKit Abusers is the most active Slack room for Mac development.
- Hacking with Swift has a Mac development room.
- CocoaHeads doesn’t get a lot of Mac development discussion, but the workspace covers both iOS and Mac development.
Have a Resource to Add?
Use the Contact page to send me an email with your resource for learning Mac development.