# macOS Apprentice

**URL:** https://forums.kodeco.com/c/books/macos-apprentice/107.md

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

---

## [Errata for macOS Apprentice 1st Edition](https://forums.kodeco.com/t/errata-for-macos-apprentice-1st-edition/187818)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0\
**Last updated:** [May 31, 2023, 12:00am UTC](https://forums.kodeco.com/t/errata-for-macos-apprentice-1st-edition/187818 "2023-05-31T00:00:29Z")

</div>

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

---

## [About the macOS Apprentice category](https://forums.kodeco.com/t/about-the-macos-apprentice-category/187817)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0

</div>

This is the official forum for our book, macOS Apprentice, available here: https://www.kodeco.com/books/macos-apprentice

---

## [Errata for macOS Apprentice 2nd Edition](https://forums.kodeco.com/t/errata-for-macos-apprentice-2nd-edition/210344)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 0\
**Last updated:** [March 5, 2025, 12:00am UTC](https://forums.kodeco.com/t/errata-for-macos-apprentice-2nd-edition/210344 "2025-03-05T00:00:03Z")

</div>

Creating this topic to catch any typos and bugs in the 2nd Edition of macOS Apprentice.

---

## ['Publishing changes from within view updates is not allowed, this will cause undefined behavior.' appearing in the console on a single-click of a list Item in the Sidebar](https://forums.kodeco.com/t/publishing-changes-from-within-view-updates-is-not-allowed-this-will-cause-undefined-behavior-appearing-in-the-console-on-a-single-click-of-a-list-item-in-the-sidebar/206564)

<div class="topic-metadata">

**Author:** [@tstyran](https://forums.kodeco.com/u/tstyran)\
**Replies:** 1\
**Last updated:** [September 24, 2024, 1:59am UTC](https://forums.kodeco.com/t/publishing-changes-from-within-view-updates-is-not-allowed-this-will-cause-undefined-behavior-appearing-in-the-console-on-a-single-click-of-a-list-item-in-the-sidebar/206564 "2024-09-24T01:59:10Z")

</div>

hello, after completing the macOS Apprentice and Snowman app, I noticed the error appearing in the console: ‘Publishing changes from within view updates is not allowed, this will cause undefined behavior.’ Running MacOS…

---

## [Chapters 6, 7, and 17 use a version of the .onChange(of:perform) modifier which was deprecated in macOS 14](https://forums.kodeco.com/t/chapters-6-7-and-17-use-a-version-of-the-onchange-of-perform-modifier-which-was-deprecated-in-macos-14/205466)

<div class="topic-metadata">

**Author:** [@cwisniewski](https://forums.kodeco.com/u/cwisniewski)\
**Replies:** 1\
**Last updated:** [July 16, 2024, 10:54pm UTC](https://forums.kodeco.com/t/chapters-6-7-and-17-use-a-version-of-the-onchange-of-perform-modifier-which-was-deprecated-in-macos-14/205466 "2024-07-16T22:54:01Z")

</div>

This is hardly the end of the world, but while walking through macOS Apprentice’s content today, I discovered that chapter 6 twice calls for the use of the .onChange(of:perform) modifier. I’m using Xcode 15.4 and, when u…

---

## [What's the difference between this book and MacOS by Tutorials?](https://forums.kodeco.com/t/whats-the-difference-between-this-book-and-macos-by-tutorials/188324)

<div class="topic-metadata">

**Author:** [@iphone007](https://forums.kodeco.com/u/iphone007)\
**Replies:** 4\
**Last updated:** [March 13, 2024, 10:57pm UTC](https://forums.kodeco.com/t/whats-the-difference-between-this-book-and-macos-by-tutorials/188324 "2024-03-13T22:57:45Z")

</div>

What’s the difference between this book and MacOS by Tutorials? Thanks, Patrick

---

## [macOS Sonoma & Xcode 15](https://forums.kodeco.com/t/macos-sonoma-xcode-15/190495)

<div class="topic-metadata">

**Author:** [@sarah](https://forums.kodeco.com/u/sarah)\
**Replies:** 0\
**Last updated:** [August 17, 2023, 4:11am UTC](https://forums.kodeco.com/t/macos-sonoma-xcode-15/190495 "2023-08-17T04:11:20Z")

</div>

I have tested the apps in this book using the the current betas of macOS and Xcode. There are really only two things to watch out for. The first applies to developing any Mac app an the second is specific to this book. …

---

## [Chapter 11: Beginning AppKit "AppDelegate is a subclass of NSApplicationDelegate"](https://forums.kodeco.com/t/chapter-11-beginning-appkit-appdelegate-is-a-subclass-of-nsapplicationdelegate/188461)

<div class="topic-metadata">

**Author:** [@kylinroc](https://forums.kodeco.com/u/kylinroc)\
**Replies:** 2\
**Last updated:** [June 19, 2023, 11:41pm UTC](https://forums.kodeco.com/t/chapter-11-beginning-appkit-appdelegate-is-a-subclass-of-nsapplicationdelegate/188461 "2023-06-19T23:41:41Z")

</div>

AppDelegate is not a subclass of NSApplicationDelegate, it conforms to NSApplicationDelegate protocol.

---

## [Describing SwiftUI and AppKit as "layout framework" is kind of weird](https://forums.kodeco.com/t/describing-swiftui-and-appkit-as-layout-framework-is-kind-of-weird/188460)

<div class="topic-metadata">

**Author:** [@kylinroc](https://forums.kodeco.com/u/kylinroc)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 6:44pm UTC](https://forums.kodeco.com/t/describing-swiftui-and-appkit-as-layout-framework-is-kind-of-weird/188460 "2023-06-19T18:44:36Z")

</div>

Maybe using “UI framework”?
