{"id":7725,"date":"2013-08-26T08:47:52","date_gmt":"2013-08-26T13:47:52","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=7725"},"modified":"2013-08-26T08:47:53","modified_gmt":"2013-08-26T13:47:53","slug":"nsstatusitem-icon-sizes","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2013\/08\/26\/nsstatusitem-icon-sizes\/","title":{"rendered":"NSStatusItem Icon Sizes"},"content":{"rendered":"<p><a href=\"http:\/\/alastairs-place.net\/blog\/2013\/07\/23\/nsstatusitem-what-size-should-your-icon-be\/\">Alastair Houghton<\/a> (via <a href=\"http:\/\/lists.apple.com\/archives\/cocoa-dev\/2013\/Aug\/msg00591.html\">Shane Stanley<\/a>):<\/p>\n<blockquote cite=\"http:\/\/alastairs-place.net\/blog\/2013\/07\/23\/nsstatusitem-what-size-should-your-icon-be\/\"><p>Unless I&rsquo;m missing something, Apple has remained silent on this topic, and\nhasn&rsquo;t provided any guidance at all.  Further, the <code>NSStatusBar<\/code>&rsquo;s\n<code>-thickness<\/code> method, which is supposed to return the height of the status bar,\nappears to always return 22.  Which is a lie.<\/p>\n<p>[&#8230;]<\/p>\n<p>So, to fill this dearth of information, I thought I&rsquo;d do some measurements. I&rsquo;m using the Messages icon, the Time Machine icon, the Bluetooth icon and the Input Menu icon as my references for my measurements; these icons are all provided by the system and they&rsquo;re all of a consistent size and alignment, so this seems to make sense.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Alastair Houghton (via Shane Stanley): Unless I&rsquo;m missing something, Apple has remained silent on this topic, and hasn&rsquo;t provided any guidance at all. Further, the NSStatusBar&rsquo;s -thickness method, which is supposed to return the height of the status bar, appears to always return 22. Which is a lie. [&#8230;] So, to fill this dearth of [&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":[545,30,83],"class_list":["post-7725","post","type-post","status-publish","format-standard","hentry","category-technology","tag-icons","tag-mac","tag-retina"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7725","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=7725"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/7725\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=7725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=7725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=7725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}