# macOS by Tutorials

**URL:** https://forums.kodeco.com/c/books/macos-by-tutorials/87.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 by Tutorials, 1st Edition](https://forums.kodeco.com/t/errata-for-macos-by-tutorials-1st-edition/168842)

<div class="topic-metadata">

**Author:** [@jellodiil](https://forums.kodeco.com/u/jellodiil)\
**Replies:** 20\
**Last updated:** [June 15, 2023, 4:52am UTC](https://forums.kodeco.com/t/errata-for-macos-by-tutorials-1st-edition/168842 "2023-06-15T04:52:52Z")

</div>

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

---

## [About the macOS by Tutorials category](https://forums.kodeco.com/t/about-the-macos-by-tutorials-category/168841)

<div class="topic-metadata">

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

</div>

This is the official forum for our book, macOS by Tutorials, available here: https://www.raywenderlich.com/books/macos-by-tutorials

---

## [Storing Window Settings Experiment don't work for me](https://forums.kodeco.com/t/storing-window-settings-experiment-dont-work-for-me/169620)

<div class="topic-metadata">

**Author:** [@carlosypunto74](https://forums.kodeco.com/u/carlosypunto74)\
**Replies:** 22\
**Last updated:** [November 9, 2024, 12:07am UTC](https://forums.kodeco.com/t/storing-window-settings-experiment-dont-work-for-me/169620 "2024-11-09T00:07:27Z")

</div>

Hi, Trying the experiment of page 106 on section Storing Window Settings, when I reopen the app, it only open one window. I have tried to do what the note says and no more windows appear either. I’m not sure why this h…

---

## [Chapter 02 - Births and Dates swapped in display](https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086)

<div class="topic-metadata">

**Author:** [@oleamichael](https://forums.kodeco.com/u/oleamichael)\
**Replies:** 2\
**Last updated:** [November 1, 2024, 4:59am UTC](https://forums.kodeco.com/t/chapter-02-births-and-dates-swapped-in-display/207086 "2024-11-01T04:59:25Z")

</div>

Hi. This happens both in my code and in the provided Final and Challenge versions of On This Day - when I click on Births in the sidebar I get deaths in the detail view, and when I click on Deaths in the sidebar I get bi…

---

## [Second edition now available](https://forums.kodeco.com/t/second-edition-now-available/205571)

<div class="topic-metadata">

**Author:** [@sarah](https://forums.kodeco.com/u/sarah)\
**Replies:** 4\
**Last updated:** [July 30, 2024, 10:17pm UTC](https://forums.kodeco.com/t/second-edition-now-available/205571 "2024-07-30T22:17:50Z")

</div>

Since Kodeco no longer does books, they transferred the rights for macOS by Tutorials to me and I’ve just released the second edition. You can read the details, check out a free sample and find a purchase link at macOS …

---

## [Any Plans for a 2nd Edition](https://forums.kodeco.com/t/any-plans-for-a-2nd-edition/203654)

<div class="topic-metadata">

**Author:** [@staatzstreich](https://forums.kodeco.com/u/staatzstreich)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 12:17am UTC](https://forums.kodeco.com/t/any-plans-for-a-2nd-edition/203654 "2024-07-24T00:17:54Z")

</div>

Hey :wave: I want you to ask if there are and plans for a second Edition? All Topic where stating „1st“ Edition.

---

## [Using "MacOS by Tutorials" with Older Versions of Xcode](https://forums.kodeco.com/t/using-macos-by-tutorials-with-older-versions-of-xcode/189909)

<div class="topic-metadata">

**Author:** [@kilopages](https://forums.kodeco.com/u/kilopages)\
**Replies:** 11\
**Last updated:** [January 1, 2024, 12:11am UTC](https://forums.kodeco.com/t/using-macos-by-tutorials-with-older-versions-of-xcode/189909 "2024-01-01T00:11:39Z")

</div>

What kinds of problems might I expect to encounter if I try to use this book, “MacOS by Tutorials”, with older versions of Xcode? Specifically, the latest version of Xcode that will run on Catalina is 12.4 and Catalina …

---

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

<div class="topic-metadata">

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

</div>

I have tested the apps in this book using the the current betas of macOS and Xcode. There are three things to watch out for. The first applies to developing any Mac app an the others are specific to this book. Every ti…

---

## [Programming for Mission Control](https://forums.kodeco.com/t/programming-for-mission-control/189560)

<div class="topic-metadata">

**Author:** [@kilopages](https://forums.kodeco.com/u/kilopages)\
**Replies:** 8\
**Last updated:** [July 29, 2023, 7:46am UTC](https://forums.kodeco.com/t/programming-for-mission-control/189560 "2023-07-29T07:46:06Z")

</div>

Before I buy the book, I would like to know: does it cover how to integrate an app with Mission Control? In the simplest form, there are apps like Terminal and TextEdit where, if you have to reboot, open windows are res…

---

## [Actionable NSMenuItems for Time-ato](https://forums.kodeco.com/t/actionable-nsmenuitems-for-time-ato/179738)

<div class="topic-metadata">

**Author:** [@leblanc-f](https://forums.kodeco.com/u/leblanc-f)\
**Replies:** 2\
**Last updated:** [October 12, 2022, 1:13am UTC](https://forums.kodeco.com/t/actionable-nsmenuitems-for-time-ato/179738 "2022-10-12T01:13:51Z")

</div>

Hello! As a challenge to Chapter 9 (Adding your own tasks), I wanted to add the possibility to start any task by clicking on it. (I don’t know the pomorodo method, it’s just for the challenge’s sake) I think I am able …

---

## [Chapter 13 Strange Xcode warning](https://forums.kodeco.com/t/chapter-13-strange-xcode-warning/178912)

<div class="topic-metadata">

**Author:** [@sxbsxb](https://forums.kodeco.com/u/sxbsxb)\
**Replies:** 6\
**Last updated:** [September 29, 2022, 8:02pm UTC](https://forums.kodeco.com/t/chapter-13-strange-xcode-warning/178912 "2022-09-29T20:02:25Z")

</div>

I get this strange warning from Xcode when I build the starter project. warning build: Run script build phase ‘SwiftLint’ will be run during every build because it does not specify any outputs. To address this warning, …

---

## [Chapter 11.4: Highlighting active style sheet - any changes?](https://forums.kodeco.com/t/chapter-11-4-highlighting-active-style-sheet-any-changes/176723)

<div class="topic-metadata">

**Author:** [@nkalvi2](https://forums.kodeco.com/u/nkalvi2)\
**Replies:** 5\
**Last updated:** [August 26, 2022, 11:09am UTC](https://forums.kodeco.com/t/chapter-11-4-highlighting-active-style-sheet-any-changes/176723 "2022-08-26T11:09:20Z")

</div>

Highlighting active style sheet using Text(style.rawValue).foregroundColor(style == styleSheet ? .accentColor : .primary) doesn’t work under Ventura Beta 5. I’m not sure whether this modifier is also ignored for menu it…

---

## [Shortcut App list, Chap 14](https://forums.kodeco.com/t/shortcut-app-list-chap-14/177097)

<div class="topic-metadata">

**Author:** [@gillez](https://forums.kodeco.com/u/gillez)\
**Replies:** 1\
**Last updated:** [August 20, 2022, 11:20pm UTC](https://forums.kodeco.com/t/shortcut-app-list-chap-14/177097 "2022-08-20T23:20:10Z")

</div>

ImageSipper App doesn’t appear in the Shortcut App list.

---

## [Chap. 11 Help Menu Ventura](https://forums.kodeco.com/t/chap-11-help-menu-ventura/176961)

<div class="topic-metadata">

**Author:** [@gillez](https://forums.kodeco.com/u/gillez)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 11:52pm UTC](https://forums.kodeco.com/t/chap-11-help-menu-ventura/176961 "2022-08-17T23:52:13Z")

</div>

Getting this security message when using the link address to “Markdown Cheatsheet · adam-p/markdown-here Wiki · GitHub” … /11-adding-menu-controls/projects/starter/MarkDowner/MarkDownerApp.swift:35: warning run: This me…

---

## [Chapter 2: Using Live Data issues](https://forums.kodeco.com/t/chapter-2-using-live-data-issues/169653)

<div class="topic-metadata">

**Author:** [@dcdude](https://forums.kodeco.com/u/dcdude)\
**Replies:** 5\
**Last updated:** [August 17, 2022, 1:07am UTC](https://forums.kodeco.com/t/chapter-2-using-live-data-issues/169653 "2022-08-17T01:07:46Z")

</div>

When I get to the Live Data section of Chapter 2, I’m bumping into an issue with the appState. When I try to run Preview, I get "Cannot preview this file - Preview is missing environment object “AppState”. I figured it …

---

## [Strange behavior when changing view](https://forums.kodeco.com/t/strange-behavior-when-changing-view/176758)

<div class="topic-metadata">

**Author:** [@mattiav8](https://forums.kodeco.com/u/mattiav8)\
**Replies:** 3\
**Last updated:** [August 14, 2022, 10:53pm UTC](https://forums.kodeco.com/t/strange-behavior-when-changing-view/176758 "2022-08-14T22:53:54Z")

</div>

Good morning, could anyone help me solve this behavior when changing view? I have a View used as sidebar with different NavigationLinks, one to create a Record, one to create an Account, one to show all records, and the …

---

## [Navigation bar length](https://forums.kodeco.com/t/navigation-bar-length/176465)

<div class="topic-metadata">

**Author:** [@mattiav8](https://forums.kodeco.com/u/mattiav8)\
**Replies:** 4\
**Last updated:** [August 10, 2022, 6:09pm UTC](https://forums.kodeco.com/t/navigation-bar-length/176465 "2022-08-10T18:09:14Z")

</div>

Hello, I’m getting a design error when making an app for MacOS. Could anyone tell me how to avoid this length difference between navigation bar and sidebar? I suppose the dividing line should have the same alignment.

---

## [Ideas for apps that involves NSWindows](https://forums.kodeco.com/t/ideas-for-apps-that-involves-nswindows/175774)

<div class="topic-metadata">

**Author:** [@atfelix](https://forums.kodeco.com/u/atfelix)\
**Replies:** 3\
**Last updated:** [July 30, 2022, 12:44am UTC](https://forums.kodeco.com/t/ideas-for-apps-that-involves-nswindows/175774 "2022-07-30T00:44:53Z")

</div>

I’ve read the first 14 chapters and have a few ideas for apps, but I think they might be impossible or least require some private APIs that I haven’t find. The basic functionality I need for the apps is the ability to f…

---

## [Chapter 14 :: Section 14.7 :: Using the Shortcut](https://forums.kodeco.com/t/chapter-14-section-14-7-using-the-shortcut/175389)

<div class="topic-metadata">

**Author:** [@atfelix](https://forums.kodeco.com/u/atfelix)\
**Replies:** 2\
**Last updated:** [July 22, 2022, 2:23am UTC](https://forums.kodeco.com/t/chapter-14-section-14-7-using-the-shortcut/175389 "2022-07-22T02:23:22Z")

</div>

I don’t see the Receive Any input from Quick Actions anywhere in the Shortcuts app. The only item that appears when I search Quick Actions is Stop and Output under Scripting.

---

## [KeyWindow bound preferences repeated updates warning](https://forums.kodeco.com/t/keywindow-bound-preferences-repeated-updates-warning/175019)

<div class="topic-metadata">

**Author:** [@ddarby](https://forums.kodeco.com/u/ddarby)\
**Replies:** 3\
**Last updated:** [July 20, 2022, 5:54am UTC](https://forums.kodeco.com/t/keywindow-bound-preferences-repeated-updates-warning/175019 "2022-07-20T05:54:13Z")

</div>

Thank you for this great book, Sarah. Most helpful. I have put the KeyWindow into my MacOS document-based app to customize some menu commands when my document state is appropriate. This works but I keep getting the foll…

---

## [Chapter 13 - onDrop modifier](https://forums.kodeco.com/t/chapter-13-ondrop-modifier/174691)

<div class="topic-metadata">

**Author:** [@srofe](https://forums.kodeco.com/u/srofe)\
**Replies:** 1\
**Last updated:** [July 11, 2022, 3:43am UTC](https://forums.kodeco.com/t/chapter-13-ondrop-modifier/174691 "2022-07-11T03:43:12Z")

</div>

Thanks for this wonderful book. Great to see something on macOS and SwiftUI as opposed to the extensive coverage of the mobile side of things. I was implementing drag and drop in the CustomImageView in Chapter 13 and ha…

---

## [Chapter7 Time-ato application](https://forums.kodeco.com/t/chapter7-time-ato-application/169202)

<div class="topic-metadata">

**Author:** [@diuming](https://forums.kodeco.com/u/diuming)\
**Replies:** 13\
**Last updated:** [June 28, 2022, 8:15am UTC](https://forums.kodeco.com/t/chapter7-time-ato-application/169202 "2022-06-28T08:15:07Z")

</div>

The application Time-ato why not use SwiftUI?

---

## [Small typo in Section 1.2: Saving a Sample Data Set](https://forums.kodeco.com/t/small-typo-in-section-1-2-saving-a-sample-data-set/171079)

<div class="topic-metadata">

**Author:** [@atfelix](https://forums.kodeco.com/u/atfelix)\
**Replies:** 20\
**Last updated:** [June 19, 2022, 3:13am UTC](https://forums.kodeco.com/t/small-typo-in-section-1-2-saving-a-sample-data-set/171079 "2022-06-19T03:13:44Z")

</div>

In Section 1.2, Subsection Working with the File System, there’s a small type about ⌘+0. It won’t necessarily open the project navigator. It will open the project navigator if you closed the left side of Xcode on the p…

---

## [macOS Ventura & Xcode 14](https://forums.kodeco.com/t/macos-ventura-xcode-14/172886)

<div class="topic-metadata">

**Author:** [@sarah](https://forums.kodeco.com/u/sarah)\
**Replies:** 1\
**Last updated:** [June 10, 2022, 11:49am UTC](https://forums.kodeco.com/t/macos-ventura-xcode-14/172886 "2022-06-10T11:49:04Z")

</div>

Hi everyone. I hope you are all enjoying the new goodies from WWDC 2022. I certainly am, although there are still a lot of videos I want to watch. I have installed the betas of macOS 13.0 (Ventura) and Xcode 14.0 and I…

---

## [Chapter 9: Difficulty finding my Sandbox](https://forums.kodeco.com/t/chapter-9-difficulty-finding-my-sandbox/171705)

<div class="topic-metadata">

**Author:** [@sxbsxb](https://forums.kodeco.com/u/sxbsxb)\
**Replies:** 5\
**Last updated:** [May 26, 2022, 10:53pm UTC](https://forums.kodeco.com/t/chapter-9-difficulty-finding-my-sandbox/171705 "2022-05-26T22:53:25Z")

</div>

I had a hard time finding my Data folder. I am writing this in case others are having problems. When I originally created the project I used my developer account info. So, using Terminal, I found the folder /Users/\[m…

---

## [Chapter 3: Menus issues](https://forums.kodeco.com/t/chapter-3-menus-issues/170324)

<div class="topic-metadata">

**Author:** [@diuming](https://forums.kodeco.com/u/diuming)\
**Replies:** 4\
**Last updated:** [May 4, 2022, 1:53am UTC](https://forums.kodeco.com/t/chapter-3-menus-issues/170324 "2022-05-04T01:53:52Z")

</div>

Could I just ask some questions about Commands? 1)Is it possible to enable/disable New Window menu item? 2)Is it possible to create a CommandMenu between File and Edit? thanks

---

## [Playground Sources (Files.swift)](https://forums.kodeco.com/t/playground-sources-files-swift/168924)

<div class="topic-metadata">

**Author:** [@jabbott](https://forums.kodeco.com/u/jabbott)\
**Replies:** 5\
**Last updated:** [April 23, 2022, 2:26pm UTC](https://forums.kodeco.com/t/playground-sources-files-swift/168924 "2022-04-23T14:26:04Z")

</div>

Super excited to read this book! If you’re like me and are already completely lost in chapter 1 at: The Sources section of the playground contains Files.swift , which holds functions for saving and reading the sample d…

---

## [Chapter 3 Appearance Menu](https://forums.kodeco.com/t/chapter-3-appearance-menu/169289)

<div class="topic-metadata">

**Author:** [@createch](https://forums.kodeco.com/u/createch)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 11:02pm UTC](https://forums.kodeco.com/t/chapter-3-appearance-menu/169289 "2022-04-18T23:02:38Z")

</div>

This is so much fun. I just thought that I would share my alternative to the PickerView and list of buttons for the Appearance menu. I changed things up a bit for the Appearance menu to replace the Picker with a series…

---

## [Chapter 12 - commandPath](https://forums.kodeco.com/t/chapter-12-commandpath/169185)

<div class="topic-metadata">

**Author:** [@createch](https://forums.kodeco.com/u/createch)\
**Replies:** 1\
**Last updated:** [April 17, 2022, 9:03pm UTC](https://forums.kodeco.com/t/chapter-12-commandpath/169185 "2022-04-17T21:03:10Z")

</div>

I love the way that this topic is presented. So well done. I do have one question though. When we build our playground, we create this function func pathTo(command: String) async -\> String { await runCommand("/bi…
