macOS Book
Tags: mac, swift, swiftui, appkit
Published: 2022-04-24 23:56:26

---
title: macOS Book
published: true
date: 2022-04-09 00:53:43 UTC
tags: Mac, Swift, SwiftUI, AppKit
canonical_url: https://troz.net/post/2022/macos_book/
---

I can finally reveal the reason I have not been blogging. I have been busy writing a book. It’s finally out, so here it is: [macOS by Tutorials](https://www.raywenderlich.com/books/macos-by-tutorials), published by [raywenderlich.com](https://www.raywenderlich.com/).

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

Anyone who reads my posts or tweets will know that I am a passionate advocate for building real native macOS apps. This book is aimed at iOS developers who know some Swift and SwiftUI but don’t yet know all the tips and tricks needed to convert that knowledge into a great Mac experience.

You don’t need to be a highly experienced developer, but some basic Swift will be useful.

* * *

### Contents

The book consists of five sections. In each of the first four sections, I’ll walk you through developing a complete app. Each one is a different type of app using different techniques and different frameworks.

**Section 1** : Use SwiftUI to build a multi-paned window app. Learn how to manage windows, menus and toolbars.

**Section 2** : Build a menu-bar app using AppKit with a bit of SwiftUI.

**Section 3** : Back to SwiftUI to create a document-based app, with a bit of AppKit.

**Section 4** : Use your new skills to make an app that communicates with the macOS Terminal.

The final section deals with app distribution, covering both inside and outside the Mac App Store.

You can read more details of the book contents and why I wanted to write it in the [Introduction](https://www.raywenderlich.com/books/macos-by-tutorials/v1.0/chapters/v-introduction) which is a free section.

* * *

### Thanks to…

I call this _my_ book, but of course, it was only made possible by an awesome team. There were a lot of people involved, but I want to give special thanks to:

- [Ray Wenderlich](https://twitter.com/RayFromVA) who always has time for my Mac obsession and who let me write the book I wanted to write.

- [Manda Frederick](https://twitter.com/mandarazeware) was the RW book team lead when we started and was a huge source of encouragement.

- [Richard Critz](https://twitter.com/rcritz), the wonderful editor who had the unenviable task of fixing my grammar. He was very supportive and helped me to convince everyone of the merits of this approach.

- [Audrey Tam](https://twitter.com/mataharimau) and [Ehab Amer](https://twitter.com/Waheiba) were the amazing tech editors who had to make sure the instructions all worked and made sense. They took what I wrote and made it a lot better.

The whole team at [Ray Wenderlich](https://twitter.com/rwenderlich) was great, so a hugh thanks to them all. And I hope they enjoyed working on the book half as much as I did, because I had the best time!

* * *

### Where can you read the book?

- You can read it online at [raywenderlich.com](https://www.raywenderlich.com/books/macos-by-tutorials) as part of a Ray Wenderlich subscription.
- You can download an ebook (epub or pdf) at the same page if you have a subscription or buy it there if you don't.
- The paperback is available at [Amazon](https://www.amazon.com/dp/1950325660/).

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

### Feedback

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

You can contact me directly on [Twitter](https://twitter.com/trozware), by using the email link below or through the [Contact page](https://troz.net/contact/). There is also an [official forum](https://forums.raywenderlich.com/c/books/macos-by-tutorials) for the book where you can ask questions and tell us about any errors you find.