macOS Apprentice
Published: 2023-07-09 23:51:55

---
title: macOS Apprentice
published: true
date: 2023-06-28 23:48:37 UTC
tags: 
canonical_url: 
---

I’ve written another book! This one is for people who want to get started in macOS development and here it is: [macOS Apprentice](https://www.kodeco.com/books/macos-apprentice/v1.0), published by [kodeco.com](https://www.kodeco.com/) (formerly raywenderlich.com).

If you’re a beginner or near-beginner who wants to start learning Swift, SwiftUI and AppKit for building Mac apps, then this is the book for you.

![Book Cover](https://troz.net/images/book_cover_2.png)

* * *

### Contents

The book consists of four sections:

**Section 1** : Install Xcode and learn the basics of programming in Swift. Experiment with several different ways to execute Swift code on your Mac.

**Section 2** : Use SwiftUI to develop a word-guessing game called Snowman. Learn about data flow in SwiftUI, managing multiple windows, using charts and adding macOS-specific features such as toolbars and menus.

**Section 3** : There are still a number of tasks where AppKit works better than SwiftUI. In this section, build an AppKit app to browse movie data from IMDb, the online movie database.

**Section 4** : Add AppKit to your SwiftUI app and add SwiftUI to your AppKit app in order to add some finishing touches to both of the apps from the previous sections.

You can read more details of the book contents in the [Introduction](https://www.kodeco.com/books/macos-apprentice/v1.0/chapters/v-introduction).

If you are a more experienced iOS developer who wants to branch out into macOS development, then my previous book - [macOS by Tutorials](https://www.kodeco.com/books/macos-by-tutorials) - might be a better fit, although I think you could still learn a lot of Mac app tips and tricks from this one.

* * *

### Where can you read the book?

- You can read it online at [kodeco.com](https://www.kodeco.com/books/macos-apprentice/v1.0) as part of a Kodeco subscription.
- You can download an ebook (ePub or pdf) at the same page if you have a subscription or buy one there if you don’t.
- The paperback is available at [Amazon](https://www.amazon.com/dp/1950325865?&linkCode=sl1&tag=kodeco-20&linkId=66080845dc88e8300c02194f4516961a&language=en_US&ref_=as_li_ss_tl).

All the code and extra materials for the book can be downloaded or cloned from [GitHub](https://github.com/kodecocodes/maca-materials/tree/editions/1.0).

For support, to ask questions or to report any errors, please go to the [forum](https://forums.kodeco.com/c/books/macos-apprentice/107).

* * *

### Thanks to…

This book was made possible by an awesome team. There were a lot of people involved, but I want to give special thanks to:

- [Richard Critz](https://www.kodeco.com/u/rcritz), the wonderful editor who had the unenviable task of fixing my grammar.
- [Audrey Tam](https://www.kodeco.com/u/audrey) and [Ehab Amer](https://www.kodeco.com/u/ehabamer) were the amazing tech editors who had to make sure that it all worked. Audrey also contributed the first chapter on installing and setting up Xcode.

The whole team at [Kodeco](https://www.kodeco.com/) was great, so a huge thanks to them all. I hope they enjoyed working on the book as much as I did! It’s wonderful to have such a supportive group working to make my content as good as it can be.

* * *

### Feedback

I would love to hear from anyone who read the book, loved it, hated it, found an error or just wanted to say hello.

You can contact me directly using any of the contact links at the bottom of this page or through the [Contact](https://troz.net/contact/) page.