{"id":16434,"date":"2016-11-18T14:59:29","date_gmt":"2016-11-18T19:59:29","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=16434"},"modified":"2016-11-18T14:59:29","modified_gmt":"2016-11-18T19:59:29","slug":"full-screen-is-a-preference","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/11\/18\/full-screen-is-a-preference\/","title":{"rendered":"Full Screen Is a Preference"},"content":{"rendered":"<p><a href=\"http:\/\/www.joecieplinski.com\/blog\/2016\/11\/17\/full-screen-is-a-preference\/\">Joe Cieplinski<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.joecieplinski.com\/blog\/2016\/11\/17\/full-screen-is-a-preference\/\">\n<p>The isRestorable property in macOS conveniently saves window position between launches without much effort for developers. Unfortunately, isRestorable doesn&rsquo;t have any knowledge of whether the app is in full-screen mode. It would be nice if Apple provided a simple checkbox for remembering full-screen status in IB somewhere.<\/p>\n<p>Meanwhile, on behalf of Mac laptop users everywhere, allow me to plead with my Mac developer friends: When I put your app in full screen and keep it that way, I&rsquo;m showing intent. And good developers always pay attention to a customer&rsquo;s intent, and use it to anticipate their preferences. Consider taking a few minutes on your next version to implement saving a preference for running the app full screen. It&rsquo;ll go a long way to making your customers happy.<\/p>\n<\/blockquote>\n<p>The Apple apps that I just tried this with (Mail, Safari, Xcode) all remembered full screen status, as did OmniFocus. But I see an <code>NSIsFullScreen<\/code> key in the <tt>Saved Application State<\/tt>&rsquo;s <tt>windows.plist<\/tt> file. So I wonder if there isn&rsquo;t some framework support for this after all.<\/p>","protected":false},"excerpt":{"rendered":"<p>Joe Cieplinski: The isRestorable property in macOS conveniently saves window position between launches without much effort for developers. Unfortunately, isRestorable doesn&rsquo;t have any knowledge of whether the app is in full-screen mode. It would be nice if Apple provided a simple checkbox for remembering full-screen status in IB somewhere. Meanwhile, on behalf of Mac laptop [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[2],"tags":[69,30,32,1381],"class_list":["post-16434","post","type-post","status-publish","format-standard","hentry","category-technology","tag-cocoa","tag-mac","tag-macapp","tag-macos-10-12"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16434","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=16434"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16434\/revisions"}],"predecessor-version":[{"id":16435,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/16434\/revisions\/16435"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=16434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=16434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=16434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}