Errata for macOS by Tutorials, 1st Edition

Creating this topic to catch any typos and bugs in the 1st Edition of macOS by Tutorials.

Hey, first playground - M1 Mac Mini Xcode 13.3 - OnThis Day - get “Error getting URL of sample data file.”

Opening the URL directly brings back a page of JSON. So that part is fine.

Doesn’t run on Xcode 13.2.1, older Intel MacBook Pro. (Can’t update to Monterey) - unsupported function “data(for:delegate)”.



The book requires macOS 12 (Monterey).

In this case, the playground is using URLSessions async/await methods which are only available in Monterey. If you are familiar with URLSession, you can use the older callback API instead.

Hi Sarah,

On first page, under “What You Need,” you’ve spelled Monterey with two r’s.


Thanks for reporting this Steve.

It’s fixed now.

Hi Sarah,

Minor typo. In Chapter 2, the copy/paste for the SidebarView view, the comments are slightly misnumbered. You have // 2 twice; second one should be // 3;// 3 should be // 4; // 4 should be // 5.

I have downloaded the .pdf file and will refer to it often, I am sure. As the HTML sources get your corrections, at some point I assume you will produce an updated .pdf. I think it’s too early to do that yet, but let us know if that happens, please.

Very much enjoying this course, so far. Thanks!

Thanks for the report and it’s great to hear you’re enjoying it. I certainly enjoyed writing it.

I’ve fixed this on the HTML version, but I’m not sure how long it takes to get through to the PDF & ePub.

Page 40 - Shouldn’t Replace struct Event… be add let id = UUID() to struct Event

Thanks for the suggestion, but the replacement code is also adding the Identifiable protocol to the struct.

Adding an id property on its own doesn’t mark the structure as Identifiable.