Chap. 11 Help Menu Ventura

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 method should not be called on the main thread as it may lead to UI unresponsiveness.

Thanks.
Great book!

Thanks for the report.

This appears to be due to code in the KeyWindow package.
In the next version of the book, designed for Ventura, I’ll be dropping this package and using the new controlActiveState EnvironmentValue instead.

Check out my blog post if you want to see how this works:

Sarah

1 Like