{"id":39939,"date":"2023-06-30T15:31:53","date_gmt":"2023-06-30T19:31:53","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=39939"},"modified":"2023-06-30T15:31:53","modified_gmt":"2023-06-30T19:31:53","slug":"macos-apprentice","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/06\/30\/macos-apprentice\/","title":{"rendered":"macOS Apprentice"},"content":{"rendered":"<p><a href=\"https:\/\/troz.net\/post\/2023\/macos_book_2\/\">Sarah Reichelt<\/a> (<a href=\"https:\/\/mastodon.social\/@troz\/110624536010561845\">Mastodon<\/a>):<\/p>\n<blockquote cite=\"https:\/\/troz.net\/post\/2023\/macos_book_2\/\"><p>I&rsquo;ve written another book! This one is for people who want to get started in macOS development and here it is: <a href=\"https:\/\/www.kodeco.com\/books\/macos-apprentice\/v1.0\">macOS Apprentice<\/a>, published by <a href=\"https:\/\/www.kodeco.com\/\">kodeco.com<\/a> (formerly raywenderlich.com).<\/p><p>If you&rsquo;re a beginner or near-beginner who wants to start learning Swift, SwiftUI and AppKit for building Mac apps, then this is the book for you.<\/p><\/blockquote>\n\n<p>It&rsquo;s good to have an updated beginner book. When to use AppKit vs. SwiftUI, and how to mix them, is an area that Apple itself hasn&rsquo;t discussed much. Her <a href=\"https:\/\/www.kodeco.com\/books\/macos-apprentice\/v1.0\/chapters\/18-using-swiftui-in-appkit\">recommendation<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.kodeco.com\/books\/macos-apprentice\/v1.0\/chapters\/18-using-swiftui-in-appkit\"><ul><li>To support old versions of macOS, use AppKit.<\/li><li>For long-form text editing or for thousands of records, use AppKit.<\/li><li>For existing AppKit apps, add SwiftUI gradually.<\/li><li>For everything else, start with SwiftUI and include AppKit as needed.<\/li><\/ul><\/blockquote>\n<p>I have not seen a comprehensive survey of which features are unavailable in each environment.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/05\/22\/setting-up-sparkle\/\">Setting Up Sparkle<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/10\/11\/guides-for-starting-apple-app-development\/\">Guides for Starting Apple App Development<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/06\/23\/testing-swiftui-for-mac-after-wwdc-2022\/\">Testing SwiftUI for Mac After WWDC 2022<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/07\/14\/swiftui-for-mac-on-big-sur\/\">SwiftUI for Mac on Big Sur<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/01\/31\/swiftui-for-mac\/\">SwiftUI for Mac<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Sarah Reichelt (Mastodon): I&rsquo;ve written another book! This one is for people who want to get started in macOS development and here it is: macOS Apprentice, published by kodeco.com (formerly raywenderlich.com).If you&rsquo;re a beginner or near-beginner who wants to start learning Swift, SwiftUI and AppKit for building Mac apps, then this is the book for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-06-30T19:31:55Z","apple_news_api_id":"4f01fb32-ff33-4413-9963-7900d7f85ddf","apple_news_api_modified_at":"2023-06-30T19:31:55Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ATwH7Mv8zRBOZY3kA1_hd3w","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[63,69,30,2223,71,901,1812],"class_list":["post-39939","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-book","tag-cocoa","tag-mac","tag-macos-13-ventura","tag-programming","tag-swift-programming-language","tag-swiftui"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=39939"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39939\/revisions"}],"predecessor-version":[{"id":39940,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39939\/revisions\/39940"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=39939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=39939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=39939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}