{"id":5186,"date":"2014-03-30T19:31:35","date_gmt":"2014-03-30T19:31:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/uibutton-created-by-interface-builder-is-crashing-collection-of-common-programming-errors\/"},"modified":"2014-03-30T19:31:35","modified_gmt":"2014-03-30T19:31:35","slug":"uibutton-created-by-interface-builder-is-crashing-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/uibutton-created-by-interface-builder-is-crashing-collection-of-common-programming-errors\/","title":{"rendered":"UIButton, created by Interface Builder, is crashing-Collection of common programming errors"},"content":{"rendered":"<p>I have narrowed down an ugly bug, but since it seems like something internal to the nib\/Interface Builder, I&#8217;m at a loss of what to do next.<\/p>\n<p>I&#8217;ve got a UIView created in IB which functions as a custom dialog box. It shows a message and two buttons. (Proceed or Cancel.) Both buttons have a Background image set in Interface Builder.<\/p>\n<p>Something is wrong with the way the background image for the cancel button is being handled. With NSZombieEnabled, I&#8217;ve been running the program. Most often, the method below logs this:<\/p>\n<pre><code>-[ModalDialog showInView:title:message:cancelText:proceedText:]\ndialogProceedButton<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have narrowed down an ugly bug, but since it seems like something internal to the nib\/Interface Builder, I&#8217;m at a loss of what to do next. I&#8217;ve got a UIView created in IB which functions as a custom dialog box. It shows a message and two buttons. (Proceed or Cancel.) Both buttons have a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5186","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5186"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5186\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}