{"id":30202,"date":"2020-09-22T15:56:31","date_gmt":"2020-09-22T19:56:31","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=30202"},"modified":"2020-09-22T15:56:31","modified_gmt":"2020-09-22T19:56:31","slug":"forbidden-controls-in-catalysts-mac-idiom","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/09\/22\/forbidden-controls-in-catalysts-mac-idiom\/","title":{"rendered":"Forbidden Controls in Catalyst&rsquo;s Mac Idiom"},"content":{"rendered":"<p><a href=\"https:\/\/steipete.com\/posts\/forbidden-controls-in-catalyst-mac-idiom\/\">Peter Steinberger<\/a>:<\/p>\n<blockquote cite=\"https:\/\/steipete.com\/posts\/forbidden-controls-in-catalyst-mac-idiom\/\"><p>With macOS 11 Big Sur, Catalyst learned a new presentation mode. Next to the classic mode where Catalyst apps are scaled to 77% and retain their iPad-look, there&rsquo;s a new Optimize Interface for Mac mode that doesn&rsquo;t use scaling and replaces various UIKit controls with AppKit counterparts.<\/p><p>[&#8230;]<\/p><p>Back to our crash - things make a bit more sense now. There&rsquo;s no great equivalent for <code>UIStepper<\/code> in AppKit, so the folks at Apple decided it&rsquo;s better to throw an exception if this control is used. FB8727188<\/p><p>The problem: It&rsquo;s not documented which controls are disallowed, and even more problematic, some controls are allowed, but customizations are disallowed.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/06\/26\/reverse-engineering-macos-11-0\/\">Reverse Engineering macOS 11.0<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Peter Steinberger: With macOS 11 Big Sur, Catalyst learned a new presentation mode. Next to the classic mode where Catalyst apps are scaled to 77% and retain their iPad-look, there&rsquo;s a new Optimize Interface for Mac mode that doesn&rsquo;t use scaling and replaces various UIKit controls with AppKit counterparts.[&#8230;]Back to our crash - things make [&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":"2020-09-22T19:56:35Z","apple_news_api_id":"694e7612-5a37-434d-b4bd-49edf4f2265a","apple_news_api_modified_at":"2020-09-22T19:56:35Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AaU52Elo3Q020vUnt9PImWg","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":[1621,69,164,30,1891,71],"class_list":["post-30202","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-marzipan","tag-cocoa","tag-documentation","tag-mac","tag-macos-11-0","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30202","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=30202"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30202\/revisions"}],"predecessor-version":[{"id":30203,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30202\/revisions\/30203"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=30202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=30202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=30202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}