Hacking with macOS
This is the source code to accompany Hacking with macOS, a complete tutorial course teaching macOS development using Swift and SwiftUI.
All the projects from the new edition should be compatible with Xcode 14.2 and macOS Ventura. All the projects from the older AppKit edition should be compatible with macOS Monterey, but with small changes should work back to Catalina.
Where appropriate, separate project files have been provided so that you can follow the tutorial from scratch without having to dig around in the completed project folder.
If you have questions, you can find me on Twitter @twostraws.
Recommended links
This is a 250-page guide to helping you write faster, more efficient Swift, accompanied by over 70 videos demonstrating each technique. If you want to dive into functional programming, learn more about MVVM, get to grips with @autoclosure and @escaping, or try your hand at protocol-oriented development, Pro Swift is for you.
SwiftUI makes it astonishingly easy to create beautiful, fast, native apps for all of Appleโs platforms, and this book is designed to help you make the most of all that power โย itโs packed with hands-on code samples walking you through advanced techniques to help you make the most of SwiftUI.
Swift Coding Challenges is an all-new book written from the ground up to put your Swift skills to the test. I've written a variety of coding challenges that start off simple but slowly get harder, and it's down to you to solve them. I outline each problem, provide you with sample input and output, add in some hints in case you hit problems, then provide a sample solution and explain how it works.