{"id":358,"date":"2017-12-13T11:15:37","date_gmt":"2017-12-13T03:15:37","guid":{"rendered":"https:\/\/antijava.prjlife.com\/?p=358"},"modified":"2021-03-16T10:04:39","modified_gmt":"2021-03-16T02:04:39","slug":"interface-builder-high-cpu-usage-hang-mac-os-x","status":"publish","type":"post","link":"https:\/\/antijava.prjlife.com\/?p=358","title":{"rendered":"Interface Builder high CPU usage hang Mac OS X"},"content":{"rendered":"<p>The MacBook Pro almost hang the other day, press a key or click some function then the cursor turned into spinning rainbow.<\/p>\n<p>Check the cpu usage in terminal console and find that &#8220;Interface Builder&#8221; was the highest cpu usage process.<\/p>\n<p>Google and found the solution and it worked for me. It might work for you if there&#8217;re &#8220;Toolbar&#8221; component in your storyboard.<\/p>\n<p>1.Open storyboard as &#8220;Source<\/p>\n<p>2.Change &#8220;translatedAutoresizingMaskIntoConstraints&#8221; attribute of &#8220;Toolbar&#8221; from &#8220;NO&#8221; to &#8220;YES&#8221;<\/p>\n<p>Ref: https:\/\/stackoverflow.com\/questions\/46922321\/xcode-9-0-1-interface-builder-100-cpu-opening-ios-storyboard<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The MacBook Pro almost hang the other day, press a key or click some function then the cursor turned into spinning rainbow. Check the cpu usage in terminal console and find that &#8220;Interface Builder&#8221; was the highest cpu usage process. &hellip; <a href=\"https:\/\/antijava.prjlife.com\/?p=358\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"class_list":["post-358","post","type-post","status-publish","format-standard","hentry","category-ios-development"],"_links":{"self":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/posts\/358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358"}],"version-history":[{"count":0,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=\/wp\/v2\/posts\/358\/revisions"}],"wp:attachment":[{"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/antijava.prjlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}